From 69f6757df0da274124a1889d0b6065a6970b802c Mon Sep 17 00:00:00 2001 From: Randy Barlow Date: Tue, 28 May 2019 18:36:00 +0000 Subject: [PATCH] bodhi: We do not want to restart messaging. We had some code to protect backend01 from restarting fedmsg-hub so as not to interrupt running composes. Since we now only have backend01 it just doesn't make sense to have a restart handler anymore. Signed-off-by: Randy Barlow --- roles/bodhi2/backend/handlers/main.yml | 5 ----- roles/bodhi2/backend/tasks/main.yml | 10 ---------- 2 files changed, 15 deletions(-) delete mode 100644 roles/bodhi2/backend/handlers/main.yml diff --git a/roles/bodhi2/backend/handlers/main.yml b/roles/bodhi2/backend/handlers/main.yml deleted file mode 100644 index 75e79e93b8..0000000000 --- a/roles/bodhi2/backend/handlers/main.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- name: restart fedora-messaging - service: - name: fm-consumer@config.service - state: restarted diff --git a/roles/bodhi2/backend/tasks/main.yml b/roles/bodhi2/backend/tasks/main.yml index 960924955b..a17e623b49 100644 --- a/roles/bodhi2/backend/tasks/main.yml +++ b/roles/bodhi2/backend/tasks/main.yml @@ -337,7 +337,6 @@ when: inventory_hostname.startswith('bodhi-backend') notify: - reload bodhi httpd - - restart fedora-messaging tags: - config - bodhi @@ -350,8 +349,6 @@ group=apache mode=0600 when: inventory_hostname.startswith('bodhi-backend') - notify: - - restart fedora-messaging tags: - config - bodhi @@ -370,7 +367,6 @@ mode: 0644 notify: - reload systemd - - restart fedora-messaging tags: - bodhi - config @@ -407,8 +403,6 @@ mode: 0644 owner: apache group: apache - notify: - - restart fedora-messaging tags: - bodhi @@ -419,8 +413,6 @@ mode: 0644 owner: apache group: apache - notify: - - restart fedora-messaging tags: - bodhi @@ -431,8 +423,6 @@ mode: 0600 owner: apache group: apache - notify: - - restart fedora-messaging tags: - bodhi