Adding parameters example
This commit is contained in:
parent
79fb0aad28
commit
3104b79d35
1 changed files with 4 additions and 1 deletions
|
@ -15,7 +15,7 @@
|
||||||
apt: pkg=rabbitmq-server=$rabbitmq_version state=installed force=yes
|
apt: pkg=rabbitmq-server=$rabbitmq_version state=installed force=yes
|
||||||
|
|
||||||
- name: enable rabbitmq plugins
|
- 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:
|
notify:
|
||||||
- restart rabbitmq
|
- restart rabbitmq
|
||||||
|
|
||||||
|
@ -31,6 +31,9 @@
|
||||||
- name: ensure vhost /test is present
|
- name: ensure vhost /test is present
|
||||||
rabbitmq_vhost: name=/test state=present
|
rabbitmq_vhost: name=/test state=present
|
||||||
|
|
||||||
|
- name: set federation local-username
|
||||||
|
rabbitmq_parameter: component=federation name=local-username value='"user1"' state=present
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- name: restart rabbitmq
|
- name: restart rabbitmq
|
||||||
service: name=rabbitmq-server state=restarted
|
service: name=rabbitmq-server state=restarted
|
||||||
|
|
Loading…
Reference in a new issue