I'm aware of that module and am using it in that task list where I would
run `docker-compose up`, but I'm not seeing how to use that module for
`docker-compose run`, could you elaborate?
On Monday, January 29, 2018 at 3:33:14 PM UTC-5, Andrew Latham wrote:
>
> http://docs.ansible.com/ansible/lat
http://docs.ansible.com/ansible/latest/docker_service_module.html
On Mon, Jan 29, 2018 at 2:28 PM, Brandon Schlueter
wrote:
> In writing a playbook to bring up sentry according to its docs with
> docker-compose, I ended up with a task list including:
>
> - name: run database migrations
> command
In writing a playbook to bring up sentry according to its docs with
docker-compose, I ended up with a task list including:
- name: run database migrations
command:
docker-compose run --rm web upgrade --noinput
chdir=/opt/sentry-onpremise
- name: create initial user
command:
docker-compose run --r