Skip to content

Instantly share code, notes, and snippets.

@Mayeu
Last active January 4, 2016 20:19
Show Gist options
  • Save Mayeu/8672886 to your computer and use it in GitHub Desktop.
Save Mayeu/8672886 to your computer and use it in GitHub Desktop.
Remove this:
```
- name: generate the configuration of rabbitmq
template:
src=rabbitmq.config.j2
dest=/etc/rabbitmq/rabbitmq.config
owner=rabbitmq
group=rabbitmq
mode=0644
backup=yes
notify: restart rabbitmq-server
```
Add something like this:
```
- name: copy my configuration files
copy:
src=files/my_rabbitmq.config
dest=/etc/rabbitmq/rabbitmq.config
owner=rabbitmq
group=rabbitmq
mode=0640
backup=yes
notify: restart rabbitmq-server
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment