From d283c918fe4bea9a7174bda4201931c6916765a1 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 3 Oct 2022 10:50:17 -0700 Subject: [PATCH] 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 --- roles/notifs/frontend/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/notifs/frontend/tasks/main.yml b/roles/notifs/frontend/tasks/main.yml index 07f8ad1cee..df9bb62c50 100644 --- a/roles/notifs/frontend/tasks/main.yml +++ b/roles/notifs/frontend/tasks/main.yml @@ -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