
As we are using ansible 2.0, we should move from sudo to become to avoid deprecation. Change-Id: Ia084759b9c38f5c045ab14eab3af63a2ad33069f Closes-bug: 1547430
9 lines
255 B
YAML
9 lines
255 B
YAML
- hosts: [{{host}}]
|
|
become: yes
|
|
vars:
|
|
admin_user: {{admin_user}}
|
|
admin_password: {{admin_password}}
|
|
tasks:
|
|
- file: path={{config_dir}} state=directory
|
|
- template: src={{templates_dir}}/rabbitmq.conf dest={{config_dir}}/rabbitmq.conf
|