forked from FreiFunkMuenster/ansible-ffms
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgateways.yml
34 lines (34 loc) · 2.35 KB
/
gateways.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
---
- hosts: gateways
vars_files:
- passwords.yml
remote_user: root
roles:
# - { role: calculate_missing_inventory_variables, tags: "bird,gateways_dhcp,gateways_kea_configure,gateways_kea_postgres"}
- { role: hostname, tags: "hostname"}
- { role: common, tags: "common"}
- { role: motd, tags: "motd"}
# - { role: backports-kernel, tags: "backports-kernel", when: "ansible_distribution == 'Debian' and ansible_distribution_major_version == '8'"}
- { role: net_netfilter, tags: "net_netfilter"}
- { role: tunearpcache, tags: "tunearpcache"}
- { role: ip_forwarding, tags: "ip_forwarding"}
- { role: iptables, tags: "iptables"}
- { role: gateways_gre_upstream, tags: "gateways_gre_upstream"}
- { role: backbone_gre_ffms, tags: "backbone_gre_ffms"}
- { role: batman_build, tags: "batman_build", when: "'batman_version' in hostvars[inventory_hostname] and domaenenliste is defined"}
- { role: gateways_batman, tags: "gateways_batman"}
- { role: gateways_gretap, tags: "gateways_gretap"}
- { role: gateways_l2tp, tags: "gateways_l2tp", when: "'use_wlan_slovenija_tunneldigger' not in hostvars[inventory_hostname] or use_wlan_slovenija_tunneldigger == false"}
- { role: gateways_l2tp_slovenija, tags: "gateways_l2tp_slovenija", when: "'use_wlan_slovenija_tunneldigger' in hostvars[inventory_hostname] and use_wlan_slovenija_tunneldigger == true"}
- { role: bird, tags: "bird"}
- { role: gateways_dhcp, tags: "gateways_dhcp", when: "'dhcp_type' not in hostvars[inventory_hostname] or dhcp_type == 'isc-dhcp'"}
- { role: gateways_bind, tags: "gateways_bind"}
- { role: collectd, tags: "collectd"}
- { role: gateways_kea_build, tags: "gateways_kea_build", when: "'dhcp_type' in hostvars[inventory_hostname] and dhcp_type == 'kea'"}
- { role: gateways_kea_postgres, tags: "gateways_kea_postgres", when: "'dhcp_type' in hostvars[inventory_hostname] and dhcp_type == 'kea' and kea.database.type == 'postgresql'"}
- { role: gateways_kea_configure, tags: "gateways_kea_configure", when: "'dhcp_type' in hostvars[inventory_hostname] and dhcp_type == 'kea'"}
- { role: py_respondd, tags: "py_respondd"}
# - { role: nrpe, tags: "nrpe"}
# - { role: set_kernel_param_maxcpus, tags: "set_kernel_param_maxcpus"}
- { role: unattended_upgrades, tags: "unattended_upgrades"}
- { role: pause, tags: "pause" }