From f503a47536009b43f64b9744923f11e9cc5a3b60 Mon Sep 17 00:00:00 2001 From: Randy Barlow Date: Mon, 13 May 2019 20:47:27 +0000 Subject: [PATCH] bodhi: Switch staging-sync playbook to use fedora-messaging. Signed-off-by: Randy Barlow --- playbooks/manual/staging-sync/bodhi.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/playbooks/manual/staging-sync/bodhi.yml b/playbooks/manual/staging-sync/bodhi.yml index fb39aa0d95..87b1dd372d 100644 --- a/playbooks/manual/staging-sync/bodhi.yml +++ b/playbooks/manual/staging-sync/bodhi.yml @@ -23,7 +23,7 @@ tasks: - command: oc -n bodhi scale dc/bodhi-web --replicas=0 -- name: bring staging services down (fedmsg-hub-3) +- name: bring staging services down (messaging) hosts: bodhi-backend-stg user: root vars_files: @@ -32,7 +32,9 @@ - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml tasks: - - service: name=fedmsg-hub-3 state=stopped + - service: + name: fm-consumer@config.service + state: stopped # Here's the meaty part in the middle - name: drop and re-create the staging db entirely @@ -82,7 +84,7 @@ tasks: - service: name=httpd state=started -- name: bring staging services up (fedmsg-hub-3) +- name: bring staging services up (messaging) hosts: bodhi-backend-stg user: root vars_files: @@ -91,4 +93,6 @@ - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml tasks: - - service: name=fedmsg-hub-3 state=started + - service: + name: fm-consumer@config.service + state: started