Ansible roles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
539 B

---
- name: Install RabbitMQ
yum:
name:
- rabbitmq-server
tags: rabbitmq
- name: Install pre/post backup hooks
template: src={{ item }}-backup.j2 dest=/etc/backup/{{ item }}.d/rabbitmq mode=755
loop:
- pre
- post
tags: rabbitmq
- name: Create directories
file: path=/etc/rabbitmq/ssl state=directory owner=rabbitmq group=rabbitmq mode=700
tags: rabbitmq
- name: Install dehydrated hook
template: src=dehydrated_hook.sh.j2 dest=/etc/dehydrated/hooks_deploy_cert.d/rabbitmq.sh mode=755
tags: rabbitmq