From 3104b79d350ea62a401b2f33668d3a47d4f3e97c Mon Sep 17 00:00:00 2001 From: Chris Hoffman Date: Fri, 1 Mar 2013 08:30:50 -0500 Subject: [PATCH] Adding parameters example --- examples/playbooks/rabbitmq.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/playbooks/rabbitmq.yml b/examples/playbooks/rabbitmq.yml index c205c6bd78c..09879400ebb 100644 --- a/examples/playbooks/rabbitmq.yml +++ b/examples/playbooks/rabbitmq.yml @@ -15,7 +15,7 @@ apt: pkg=rabbitmq-server=$rabbitmq_version state=installed force=yes - name: enable rabbitmq plugins - rabbitmq_plugin: names=rabbitmq_management,rabbitmq_tracing state=enabled + rabbitmq_plugin: names=rabbitmq_management,rabbitmq_tracing,rabbitmq_federation state=enabled notify: - restart rabbitmq @@ -31,6 +31,9 @@ - name: ensure vhost /test is present rabbitmq_vhost: name=/test state=present + - name: set federation local-username + rabbitmq_parameter: component=federation name=local-username value='"user1"' state=present + handlers: - name: restart rabbitmq service: name=rabbitmq-server state=restarted