7 lines
174 B
YAML
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
|