ansible-ffrgb/site.yml

83 lines
1.4 KiB
YAML

---
- name: Setup common roles on all hosts
hosts: all
roles:
- common
- apt
- ntp
- node_exporter
- name: Setup gateway servers
hosts: [gw11.regensburg.freifunk.net, gw21.regensburg.freifunk.net, gw31.regensburg.freifunk.net, gw12.regensburg.freifunk.net, gw22.regensburg.freifunk.net]
roles:
- root_keys
- arp_cache
- batman
- bird
- fastd
- fastd_exporter
- interfaces
- exit_ip
- dns_split
- radvd
- dhcpd
- respondd
- yanic
- web_gw
- name: Setup gateway servers with VXoWG
hosts: [gw11.regensburg.freifunk.net, gw21.regensburg.freifunk.net, gw31.regensburg.freifunk.net]
roles:
- mesh_wg
- name: Setup stats server
hosts: stats.regensburg.freifunk.net
roles:
- influxdb
- prometheus
- grafana
- yanic
- web_stats
- name: Setup tile server
hosts: tiles.regensburg.freifunk.net
roles:
- tileserver
- name: Setup name servers
hosts: ns1.regensburg.freifunk.net
roles:
- dns_auth
- name: Setup web service proxy
hosts: web.regensburg.freifunk.net
roles:
- speedtest
- web_svc
- name: Setup searxng server
hosts: sx.regensburg.freifunk.net
roles:
- searxng
- name: Setup resolver
hosts: resolver.regensburg.freifunk.net
roles:
- dns_resolver
- name: Setup netbox server
hosts: netbox.regensburg.freifunk.net
roles:
- netbox
- name: Setup unms server
hosts: unms.ffrgb
roles:
- docker
- name: Setup unifi server
hosts: unifi.ffrgb
roles:
- unifi