odcs-backend runs in fedmsg-hub now.

This commit is contained in:
Ralph Bean 2018-06-21 12:01:35 +00:00
parent c96a0d54e4
commit d6dd7dedb0
4 changed files with 16 additions and 20 deletions

View file

@ -15,15 +15,6 @@
tags:
- odcs
- odcs/backend
- name: Make sure fedmsg-hub isn't running.
service:
name: fedmsg-hub
state: stopped
enabled: false
ignore_errors: true
tags:
- odcs
- odcs/backend
- name: generate the ODCS koji config
template:
src: etc/koji.conf.d/odcs.conf.j2
@ -32,7 +23,7 @@
group: odcs
mode: 0440
notify:
- restart odcs-backend
- restart fedmsg-hub
tags:
- odcs
- odcs/backend
@ -43,7 +34,7 @@
groups: apache
append: true
notify:
- restart odcs-backend
- restart fedmsg-hub
tags:
- odcs
- odcs/backend
@ -58,4 +49,11 @@
tags:
- odcs
- odcs/backend
- name: Make sure fedmsg-hub is running (we used to turn it off).
service:
name: fedmsg-hub
state: started
enabled: true
tags:
- odcs
- odcs/backend

View file

@ -1,8 +1,4 @@
---
- name: restart odcs-backend
service:
name: "odcs-backend"
state: restarted
- name: restart fedmsg-hub
service:
name: fedmsg-hub

View file

@ -76,7 +76,7 @@
group: odcs
mode: 0440
notify:
- restart odcs-backend
- restart fedmsg-hub
when: inventory_hostname.startswith('odcs-backend')
tags:
- odcs
@ -90,7 +90,7 @@
group: odcs
mode: 0440
notify:
- restart odcs-backend
- restart fedmsg-hub
when: inventory_hostname.startswith('odcs-backend')
tags:
- odcs
@ -104,7 +104,7 @@
group: odcs
mode: 0440
notify:
- restart odcs-backend
- restart fedmsg-hub
when: inventory_hostname.startswith('odcs-backend')
tags:
- odcs
@ -114,7 +114,7 @@
copy: src="{{ roles_path }}/odcs/base/files/pungi.conf" dest=/etc/odcs/pungi.conf
owner=odcs group=odcs mode=0640
notify:
- restart odcs-backend
- restart fedmsg-hub
when: inventory_hostname.startswith('odcs-backend')
tags:
- odcs