swap conditionals

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2022-10-03 19:01:02 -07:00
parent 3e9e7af6d0
commit 3050376b0d

View file

@ -12,7 +12,7 @@
notify:
- restart apache
when:
inventory_hostname.startswith('notifs-web01.iad2')
inventory_hostname.startswith('notifs-web02.iad2')
tags:
- notifs
- notifs/frontend
@ -28,7 +28,7 @@
notify:
- restart apache
when:
inventory_hostname.startswith('notifs-web02') or env == 'staging'
inventory_hostname.startswith('notifs-web01') or env == 'staging'
tags:
- notifs
- notifs/frontend