summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMichael DeHaan <michael@ansibleworks.com>2013-05-05 19:41:57 +0200
committerMichael DeHaan <michael@ansibleworks.com>2013-05-05 19:41:57 +0200
commit777dbc10485a97738dd52802247d025d01af08b7 (patch)
treeb3bdfeb380e6eb4c30a6f05df8b55582cc5cfbbe /examples
parentUpdate postgres and prompts examples. (diff)
downloadansible-777dbc10485a97738dd52802247d025d01af08b7.tar.xz
ansible-777dbc10485a97738dd52802247d025d01af08b7.zip
Update rabbitmq example
Diffstat (limited to 'examples')
-rw-r--r--examples/playbooks/rabbitmq.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/playbooks/rabbitmq.yml b/examples/playbooks/rabbitmq.yml
index 09879400eb..5996f5422c 100644
--- a/examples/playbooks/rabbitmq.yml
+++ b/examples/playbooks/rabbitmq.yml
@@ -12,7 +12,7 @@
apt_repository: repo='deb http://www.rabbitmq.com/debian/ testing main' state=present
- name: install rabbitmq
- apt: pkg=rabbitmq-server=$rabbitmq_version state=installed force=yes
+ apt: pkg=rabbitmq-server={{rabbitmq_version}} state=installed force=yes
- name: enable rabbitmq plugins
rabbitmq_plugin: names=rabbitmq_management,rabbitmq_tracing,rabbitmq_federation state=enabled
@@ -20,7 +20,7 @@
- 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}} password=changeme tags=administrator,{{item}} vhost=/ configure_priv=.* write_priv=.* read_priv=.* state=present
with_items:
- user1
- user2