Commit d2fe3ac6 authored by Dave Johnson's avatar Dave Johnson
Browse files

Merge branch 'grogy-patch-1'

parents dff8123d 4c828c02
......@@ -12,8 +12,13 @@
- name: add rabbitmq official apt repository
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
- name: add trusted key
apt_key: url=https://www.rabbitmq.com/rabbitmq-signing-key-public.asc state=present
- name: install package
apt: name={{ item }} update_cache=yes state=installed
with_items:
- rabbitmq-server
- name: enable rabbitmq plugins
rabbitmq_plugin: names=rabbitmq_management,rabbitmq_tracing,rabbitmq_federation state=enabled
......@@ -32,9 +37,6 @@
- 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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment