solar-resources/resources/rabbitmq_user/1.0.0/actions/run.yaml
Maciej Kwiek e51ac240c3 Change sudo to become in ansible resources
As we are using ansible 2.0, we should move from sudo to become to avoid
deprecation.

Change-Id: Ia084759b9c38f5c045ab14eab3af63a2ad33069f
Closes-bug: 1547430
2016-02-22 10:05:54 +01:00

12 lines
346 B
YAML

- hosts: [{{host}}]
become: yes
tasks:
- rabbitmq_user: user={{user_name}}
password={{password}}
vhost={{vhost_name}}
configure_priv=.*
read_priv=.*
write_priv=.*
tags={{tags}}
state=present