mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
wiki: Only try and make the rabbitmq user on wiki01/wiki01.stg, not both.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
committed by
Pierre-Yves Chibon
parent
09cc40e670
commit
9025fecdf7
@@ -29,7 +29,7 @@
|
||||
- { role: fedmsg/base,
|
||||
when: deployment_type == "prod" }
|
||||
# Set up for fedora-messaging
|
||||
- { role: rabbit/user, username: "wiki{{ env_suffix }}"}
|
||||
- { role: rabbit/user, username: "wiki{{ env_suffix }}", when: inventory_hostname.startswith('wiki01') }
|
||||
- { role: rabbit/queue, username: "wiki{{ env_suffix }}", queue_name: "wiki{{ env_suffix }}"}
|
||||
- { role: nfs/client, when: env == "staging", mnt_dir: '/mnt/web/attachments', nfs_src_dir: 'fedora_app_staging/app/attachments' }
|
||||
- { role: nfs/client, when: env != "staging", mnt_dir: '/mnt/web/attachments', nfs_src_dir: 'fedora_app/app/attachments' }
|
||||
|
||||
Reference in New Issue
Block a user