chrismeyersfsu / provision_docker

Test Ansible roles and playbooks using Docker
219 stars 56 forks source link

Rerun ansible playbook #73

Closed iainvm closed 5 years ago

iainvm commented 5 years ago

I have created a testing playbook which mimics my production playbook but start up docker containers first. If I want to test that I can rerun the playbook to check the state, the testing playbook will recreate the docker containers from fresh and thus it's not a rerun anymore.

Is there a way (like saying state: present) to only create the docker containers when they aren't there?

iainvm commented 5 years ago

Just found that this is a duplicate issue, sorry.

Duplicate: #71