Re: [ansible-project] Docker module for `docker-compose run`?

2018-01-29 Thread Brandon Schlueter
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

Re: [ansible-project] Docker module for `docker-compose run`?

2018-01-29 Thread Andrew Latham
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

[ansible-project] Docker module for `docker-compose run`?

2018-01-29 Thread Brandon Schlueter
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