14 lines
301 B
YAML
14 lines
301 B
YAML
- name: docker directory
|
|
file:
|
|
path: /opt/{{ docker_healthchecks_service_id }}/
|
|
state: directory
|
|
|
|
- name: prepare docker-compose.yml
|
|
template:
|
|
src: "{{ item }}"
|
|
dest: /opt/{{ docker_healthchecks_service_id }}/
|
|
with_items:
|
|
- docker-compose.yml
|
|
notify: docker-compose-up
|
|
|
|
|