diff --git a/playbooks/groups/wiki.yml b/playbooks/groups/wiki.yml index 15401f9db5..0c0e5bce7d 100644 --- a/playbooks/groups/wiki.yml +++ b/playbooks/groups/wiki.yml @@ -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' }