http://docs.ansible.com/ansible/latest/docker_service_module.html

On Mon, Jan 29, 2018 at 2:28 PM, Brandon Schlueter <[email protected]>
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:
> docker-compose run --rm web upgrade --noinput
> chdir=/opt/sentry-onpremise
> - name: create initial user
> command:
> docker-compose run --rm web createuser
> --email [email protected]
> --password supersecretpassword
> --superuser
> chdir=/opt/sentry-onpremise
> - name: start docker service
> docker_service:
> project_src: /opt/sentry-onpremise
> state: present
> Is there docker module I could be using instead of the command module
> calls to `docker-compose run`?
>
> For reference, the docker compose file I'm using is at
> https://github.com/refinery29/sentry-onpremise/blob/master/
> docker-compose.yml (forked from the original).
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/ansible-project/abdd824e-6f43-426c-bdc3-fe0fe1b56b74%40googlegroups.
> com
> <https://groups.google.com/d/msgid/ansible-project/abdd824e-6f43-426c-bdc3-fe0fe1b56b74%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
- Andrew "lathama" Latham -

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CA%2Bqj4S80AN4EKBgAMckHJtgfpezWcRX%3DpktcQv8ua8KJFOTQnw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to