I'm using ansible. I want to upload a docker-compose.yml
and pull its images, but not start them.
I tried this, but it also starts the images:
- name: dc
docker_compose:
project_src: /srv/foo/
state: present
pull: true
stopped: true
I only want to pull - the same as if I use docker-compose pull
.
Can I do that?