Use groups for 'hosts:' in the playbooks

This commit is contained in:
Tunui Franken 2024-07-24 16:22:24 +02:00
parent fc1bbe1c24
commit ae1b2667a3
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@
- name: Install services for lime2 home server
gather_facts: true
hosts: lime2,lime2-test
hosts: lime2servers
roles:
- role: common_handlers
tags: always

View file

@ -4,7 +4,7 @@
- name: Install mail server
gather_facts: true
hosts: mailserver,mailserver-test
hosts: mailservers
roles:
- role: common_handlers
tags: always