setup: do base setup for all targets in one step

This commit is contained in:
Timotej Lazar 2025-04-10 19:30:14 +02:00
parent e754db5fbd
commit d2b9b05406

View file

@ -4,14 +4,17 @@
roles:
- facts
- hosts: '*'
roles:
- { role: alpine, when: ansible_distribution == 'Alpine' }
- { role: debian, when: ansible_distribution == 'Debian' }
# hosts
- hosts: mgmt-gw
roles:
- alpine
- hosts: ceph-*
roles:
- debian
- frr
- telegraf
- ceph
@ -29,38 +32,32 @@
# virtual machines
- hosts: bookstack
roles:
- alpine
- nginx
- nginx-php
- hosts: dhcp
roles:
- alpine
- dnsmasq
- hosts: doc
roles:
- alpine
- nginx
- nginx-php
- dokuwiki
- hosts: git
roles:
- alpine
- nginx
- forgejo
- hosts: kanboard
roles:
- alpine
- nginx
- nginx-php
- kanboard
- hosts: matrix
roles:
- alpine
- postgres
- nginx
- synapse
@ -69,14 +66,12 @@
- hosts: monitor
roles:
- alpine
- nginx
- influxdb
- grafana
- hosts: netbox
roles:
- alpine
- postgres
- redis
- nginx
@ -86,19 +81,16 @@
- hosts: unifi
roles:
- debian
- nginx
- unifi
- hosts: web-front
roles:
- alpine
- nginx
- reverse-proxy
- hosts: zid
roles:
- alpine
- opensmtpd
- nginx
- friwall