-
Notifications
You must be signed in to change notification settings - Fork 1
/
site.yml
executable file
·74 lines (71 loc) · 1.65 KB
/
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#!/usr/bin/env ansible-playbook -i inventory --skip-tags=consul,bootstrap,nomad
---
# - name: setup servers
# hosts: all
# gather_facts: true
# become: yes
# become_user: root
# roles:
# # - { role: utils, tags: ["utils"] }
# # # - {
# # # role: geerlingguy.docker,
# # # docker_install_compose: false,
# # # tags: ["docker"],
# # # }
# # # - {
# # # role: geerlingguy.docker_arm,
# # # docker_install_compose: false,
# # # tags: ["docker"],
# # # }
# # - cloudalchemy.node_exporter
# tags:
# - bootstrap
- name: Servers
hosts: rasphosts
roles:
- role: artis3n.tailscale
vars:
verbose: true
tailscale_auth_key: ""
tags:
- tailscale
# - name: setup the consul servers
# hosts: consul_servers
# become: true
# become_user: root
# gather_facts: true
# remote_user: ubuntu
# roles:
# - { role: consul, consul_is_server: yes }
# tags:
# - consul
# - name: setup the consul followers
# hosts: consul_followers
# become: true
# become_user: root
# gather_facts: true
# remote_user: ubuntu
# roles:
# - { role: consul, consul_is_server: no }
# tags:
# - consul
# - name: setup the nomad servers
# hosts: nomad_servers
# become: true
# become_user: root
# gather_facts: true
# remote_user: ubuntu
# roles:
# - { role: nomad, nomad_is_server: yes, nomad_dc: alpha }
# tags:
# - nomad
# - name: setup the nomad workers
# hosts: nomad_workers
# become: true
# become_user: root
# gather_facts: true
# remote_user: ubuntu
# roles:
# - { role: nomad, nomad_dc: alpha }
# tags:
# - nomad