forked from UCCNetsoc/NaC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcore.yml
37 lines (35 loc) · 962 Bytes
/
core.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
- name: "Deploy Traefik, Netsoc.co, Netsoc Blog, Netsoc Wiki"
hosts: bigbertha
pre_tasks:
- name: Ensure Traefik
include_playbook: traefik.yml
roles:
- netsoc.co
- blog.netsoc.co
- wiki.netsoc.co
vars_files:
- vars/cloudflare.yml # traefik certs
- vars/docker_registry.yml # netsoc.co image
- vars/mysql_server.yml # mysql server root
- vars/wiki.yml
- vars/ldap.yml
- vars/secrets.yml
tags:
- install-base
- install-swarm
- install-swarm-services
- name: "Deploy NetsocAdmin2"
hosts: bigbertha # it says bertha but the constraint inside the role restricts it to leela
roles:
- netsocadmin2
vars_files:
- vars/cloudflare.yml # traefik certs
- vars/docker_registry.yml # netsoc.co image
- vars/mysql_server.yml # mysql server root
- vars/wiki.yml
- vars/ldap.yml
- vars/secrets.yml
tags:
- install-base
- install-swarm
- install-swarm-services