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