-
Notifications
You must be signed in to change notification settings - Fork 22
/
site.yml
executable file
·51 lines (48 loc) · 991 Bytes
/
site.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/usr/bin/env ansible-playbook -i inventory.ini --skip-tags=consul-servers,bootstrap,vault
---
- hosts: bramble
gather_facts: true
remote_user: pi
become: yes
become_user: root
roles:
- utils
- { role: dnsmasq, consul_dns_domain: bramble.local }
tags:
- bramble
- bootstrap
- name: setup the consul servers
hosts: consul
gather_facts: true
remote_user: pi
roles:
- { role: consul, consul_is_server: yes }
tags:
- consul
- consul-servers
- name: setup the baron
hosts: baron
gather_facts: true
remote_user: pi
roles:
- { role: vault, vault_datacenter: alpha }
- { role: nomad, nomad_is_server: yes, nomad_dc: alpha }
# - prometheus
# - grafana
tags:
- baron
- vault
- nomad
- prometheus
- grafana
- name: setup the folowers
hosts: followers
gather_facts: true
remote_user: pi
roles:
- consul
- { role: nomad, nomad_dc: alpha }
tags:
- followers
- consul
- nomad