pdc: Only setup the rabbit user once, not twice: once for each pdc-web server.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
98861f823a
commit
1c1a414010
1 changed files with 2 additions and 1 deletions
|
@ -48,7 +48,8 @@
|
||||||
when: deployment_type == "prod" }
|
when: deployment_type == "prod" }
|
||||||
# Set up for fedora-messaging
|
# Set up for fedora-messaging
|
||||||
- { role: rabbit/user,
|
- { role: rabbit/user,
|
||||||
username: "pdc{{ env_suffix }}"}
|
username: "pdc{{ env_suffix }}",
|
||||||
|
when: inventory_hostname.startswith(('pdc-web01','pdc-web01.stg')) }
|
||||||
- pdc/frontend
|
- pdc/frontend
|
||||||
|
|
||||||
- name: stuff just for the backend nodes
|
- name: stuff just for the backend nodes
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue