Scott Baker | f93a06c | 2016-07-11 17:04:49 -0700 | [diff] [blame] | 1 | --- |
2 | |||||
3 | - name: check to see if onboarding yaml is present | ||||
4 | stat: path=onboarding-docker-compose/docker-compose.yml | ||||
5 | register: onboarding_compose | ||||
6 | |||||
7 | - name: stop onboarded containers | ||||
8 | shell: docker-compose -p {{ docker_project }} -f {{ docker_compose_yml }} rm -f | ||||
9 | when: onboarding_compose.stat.exists == True | ||||
10 | |||||
11 | - name: stop bootstrap containers | ||||
12 | shell: docker-compose -p {{ bootstrap_project }} -f {{ bootstrap_yml }} rm -f |