June
317c822ab5
This makes a full deployment of all hosts easier and parallelises execution of roles, which are used for multiple hosts. You can still easily deploy only a subset of hosts using the -l flag for ansible-playbook.
72 lines
1.7 KiB
YAML
72 lines
1.7 KiB
YAML
---
|
|
- name: engelsystem_specific_pre_tasks
|
|
ansible.builtin.import_playbook: engelsystem_specific_pre_tasks.yaml
|
|
|
|
- name: Ensure SSH server config deployment on ssh_server_config_hosts
|
|
hosts: ssh_server_config_hosts
|
|
roles:
|
|
- deploy_ssh_server_config
|
|
|
|
- name: Ensure Send-Only-Mailserver deployment on send_only_mail_server_hosts
|
|
hosts: send_only_mail_server_hosts
|
|
roles:
|
|
- send_only_mail_server
|
|
|
|
- name: Ensure HiFiBerry deployment on hifiberry_hosts
|
|
hosts: hifiberry_hosts
|
|
roles:
|
|
- hifiberry
|
|
|
|
- name: Ensure bluetooth audio sink deployment on bluetooth_audio_sink_hosts
|
|
hosts: bluetooth_audio_sink_hosts
|
|
roles:
|
|
- bluetooth_audio_sink
|
|
|
|
- name: Ensure shairport sync deployment on shairport_sync_hosts
|
|
hosts: shairport_sync_hosts
|
|
roles:
|
|
- shairport_sync
|
|
|
|
- name: Ensure ola deployment on ola_hosts
|
|
hosts: ola_hosts
|
|
roles:
|
|
- ola
|
|
|
|
- name: Ensure foobazdmx deployment on foobazdmx_hosts
|
|
hosts: foobazdmx_hosts
|
|
roles:
|
|
- foobazdmx
|
|
|
|
- name: Ensure Mosquitto MQTT broker deployment on mosquitto_hosts
|
|
hosts: mosquitto_hosts
|
|
roles:
|
|
- mosquitto
|
|
|
|
- name: Ensure ESPHome deployment on esphome_hosts
|
|
hosts: esphome_hosts
|
|
roles:
|
|
- esphome
|
|
|
|
- name: Ensure Zigbee2MQTT deployment on zigbee2mqtt_hosts
|
|
hosts: zigbee2mqtt_hosts
|
|
roles:
|
|
- zigbee2mqtt
|
|
|
|
- name: Ensure certificate deployment on cert_hosts
|
|
hosts: cert_hosts
|
|
roles:
|
|
- cert
|
|
|
|
- name: Ensure Docker Compose deployment on docker_compose_hosts
|
|
hosts: docker_compose_hosts
|
|
roles:
|
|
- docker_compose
|
|
|
|
- name: Ensure NGINX deployment on nginx_hosts
|
|
hosts: nginx_hosts
|
|
roles:
|
|
- nginx
|
|
|
|
- name: dokuwiki_specific_tasks
|
|
ansible.builtin.import_playbook: dokuwiki_specific_tasks.yaml
|