Gate the maintenance.yml file by hostname
This commit is contained in:
@@ -30,3 +30,4 @@
|
|||||||
notify: "docker-compose up"
|
notify: "docker-compose up"
|
||||||
|
|
||||||
- import_tasks: maintenance.yml
|
- import_tasks: maintenance.yml
|
||||||
|
when: ansible_hostname == MAINTENANCE_HOST
|
||||||
|
|||||||
Reference in New Issue
Block a user