notifs / web: use correct host conditionals for frontend
This is the frontend role, and runs on notifs-web* not backend, so these conditionals were just wrong. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
42b91b718b
commit
d283c918fe
1 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@
|
|||
notify:
|
||||
- restart apache
|
||||
when:
|
||||
inventory_hostname.startswith('notifs-backend0.iad2')
|
||||
inventory_hostname.startswith('notifs-web01.iad2')
|
||||
tags:
|
||||
- notifs
|
||||
- notifs/frontend
|
||||
|
@ -28,7 +28,7 @@
|
|||
notify:
|
||||
- restart apache
|
||||
when:
|
||||
inventory_hostname.startswith('notifs-backend02') or env == 'staging'
|
||||
inventory_hostname.startswith('notifs-web02') or env == 'staging'
|
||||
tags:
|
||||
- notifs
|
||||
- notifs/frontend
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue