Skip to content

Commit

Permalink
Merge pull request ansible#222 from KnechtionsCoding/patch-1
Browse files Browse the repository at this point in the history
Update rabbitmq.yml
  • Loading branch information
webknjaz authored Mar 20, 2020
2 parents 035a6db + 648a139 commit 13f8624
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions language_features/rabbitmq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
- restart rabbitmq

- name: add users
rabbitmq_user: user={{item}} password=changeme tags=administrator,{{item}} vhost=/ configure_priv=.* write_priv=.* read_priv=.* state=present
rabbitmq_user: user={{item.username}} password={{item.password}} tags=administrator,{{item.username}} vhost=/ configure_priv=.* write_priv=.* read_priv=.* state=present
with_items:
- user1
- user2
- { username: user1, password: changeme }
- { username: user2, password: changeme }

- name: remove default guest user
rabbitmq_user: user=guest state=absent
Expand Down

0 comments on commit 13f8624

Please sign in to comment.