Files
fedora-infra_ansible/roles/rabbitmq/tasks/main.yml
Patrick Uiterwijk 0d4ff65b87 Add rabbitmq config to ansible
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-08-09 15:31:47 +00:00

21 lines
437 B
YAML

- name: install needed packages
yum: pkg={{ item }} state=present
with_items:
- rabbitmq-server
tags:
- rabbitmq
- packages
- name: install the configuration
copy: src={{item}} dest=/etc/rabbitmq/{{item}} owner=root group=root mode=0644
with_items:
- rabbitmq.config
- enabled_plugins
tags:
- rabbitmq
- config
- name: start rabbitmq
service: name=rabbitmq-server state=started enabled=yes
tags: rabbitmq