Zodbot: create the right username in rabbitmq
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
bb247b7421
commit
74057f6ae5
2 changed files with 9 additions and 3 deletions
|
@ -32,9 +32,6 @@
|
||||||
- apache
|
- apache
|
||||||
- { role: fedmsg/base,
|
- { role: fedmsg/base,
|
||||||
when: inventory_hostname.startswith('value01') }
|
when: inventory_hostname.startswith('value01') }
|
||||||
# Set up for fedora-messaging
|
|
||||||
- { role: rabbit/user,
|
|
||||||
username: "value{{ env_suffix }}"}
|
|
||||||
- { role: fedmsg/irc,
|
- { role: fedmsg/irc,
|
||||||
when: inventory_hostname.startswith('value01') }
|
when: inventory_hostname.startswith('value01') }
|
||||||
- supybot
|
- supybot
|
||||||
|
|
|
@ -86,6 +86,15 @@
|
||||||
- meetbot
|
- meetbot
|
||||||
- supybot
|
- supybot
|
||||||
|
|
||||||
|
# Set up for fedora-messaging
|
||||||
|
- name: Create the RabbitMQ user
|
||||||
|
import_role:
|
||||||
|
name: rabbit/user
|
||||||
|
username: "{{ botname }}"
|
||||||
|
when:
|
||||||
|
- env == "staging"
|
||||||
|
- inventory_hostname.startswith('value02')
|
||||||
|
|
||||||
- name: Create /etc/pki/fedora-messaging (stg)
|
- name: Create /etc/pki/fedora-messaging (stg)
|
||||||
file:
|
file:
|
||||||
dest: /etc/pki/fedora-messaging
|
dest: /etc/pki/fedora-messaging
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue