copr: be-dev: enable fedora-messaging
This commit is contained in:
parent
a57dbaff00
commit
05f8402ae6
2 changed files with 18 additions and 0 deletions
|
@ -207,6 +207,21 @@
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
|
|
||||||
|
- name: create messaging config directory
|
||||||
|
file: dest=/etc/copr/msgbuses state=directory owner=copr group=copr mode=0700
|
||||||
|
tags:
|
||||||
|
- config
|
||||||
|
|
||||||
|
- name: install messaging config
|
||||||
|
template: src="fedora-messaging.conf.j2"
|
||||||
|
dest=/etc/copr/msgbuses
|
||||||
|
owner=copr group=copr mode=0600
|
||||||
|
notify:
|
||||||
|
- restart copr-backend
|
||||||
|
tags:
|
||||||
|
- config
|
||||||
|
when: devel|bool
|
||||||
|
|
||||||
- name: copy sign.conf
|
- name: copy sign.conf
|
||||||
template: src=sign.conf dest=/etc/sign.conf owner=root group=copr mode=640
|
template: src=sign.conf dest=/etc/sign.conf owner=root group=copr mode=640
|
||||||
tags:
|
tags:
|
||||||
|
|
3
roles/copr/backend/templates/fedora-messaging.conf.j2
Normal file
3
roles/copr/backend/templates/fedora-messaging.conf.j2
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
bus_type = 'fedora-messaging'
|
||||||
|
bus_id = 'fm'
|
||||||
|
toml_config = '/etc/fedora-messaging/copr.toml'
|
Loading…
Add table
Add a link
Reference in a new issue