messaging/base: try to depend on rabbit/user automatically
This commit is contained in:
parent
1f78af15fc
commit
c6f7513c38
2 changed files with 8 additions and 3 deletions
|
@ -48,6 +48,3 @@
|
|||
- nagios_client
|
||||
- { role: messaging/base,
|
||||
when: devel }
|
||||
- { role: rabbit/user,
|
||||
username: "copr{{ env_suffix }}",
|
||||
when: devel }
|
||||
|
|
|
@ -51,3 +51,11 @@
|
|||
with_items: "{{ messaging.certificates }}"
|
||||
tags:
|
||||
- fedora-messaging
|
||||
|
||||
- name: "make sure the user {{ item.username }} exists on broker"
|
||||
include_role: name=rabbit/user
|
||||
vars:
|
||||
- username: "{{ item.username }}{{ env_suffix }}"
|
||||
with_items: "{{ messaging.certificates }}"
|
||||
tags:
|
||||
- fedora-messaging
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue