solar/examples/resources/simple/user/run.yml
2015-05-14 10:56:18 +02:00

7 lines
174 B
YAML

- hosts: [rabbitmq]
sudo: yes
tasks:
- command: docker exec -t {{rabbitmq.name}} /usr/sbin/rabbitmqctl add_user {{user.name}} {{user.password}}
run_once: true