-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathgateways.yml
33 lines (33 loc) · 1.8 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
---
- hosts: gateways
vars_files:
- passwords.yml
- fastd_keys.yml
remote_user: root
roles:
- { role: hostname, tags: "hostname"}
- { role: ssh, tags: "ssh"}
- { role: common, tags: "common"}
- { role: motd, tags: "motd"}
- { role: fail2ban, tags: "fail2ban"}
- { 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_intern, tags: "backbone_gre_intern"}
- { role: gateways_batman, tags: "gateways_batman"}
- { role: gateways_gretap, tags: "gateways_gretap"}
- { role: gateways_l2tp_slovenija, tags: "gateways_l2tp_slovenija" }
- { role: gateways_fastd, tags: "gateways_fastd", when: "'domaenenliste' in hostvars[inventory_hostname]"}
- { 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_remove_build, tags: "gateways_kea_remove_build", when: "'dhcp_type' in hostvars[inventory_hostname] and dhcp_type == 'kea'"}
- { role: gateways_kea_install, tags: "gateways_kea_install", when: "'dhcp_type' in hostvars[inventory_hostname] and dhcp_type == 'kea'"}
- { role: gateways_kea_configure, tags: "gateways_kea_configure", when: "'dhcp_type' in hostvars[inventory_hostname] and dhcp_type == 'kea'"}
- { role: gateways_respondd, tags: "gateways_respondd"}
- { role: unattended_upgrades, tags: "unattended_upgrades"}
- { role: gateways_ministats, tags: "gateways_ministats"}
- { role: pause, tags: "pause" }