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:
Kevin Fenzi 2022-10-03 10:50:17 -07:00
parent 42b91b718b
commit d283c918fe

View file

@ -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