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:
parent
09cc40e670
commit
9025fecdf7
1 changed files with 1 additions and 1 deletions
|
@ -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' }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue