ansible-role-docker_element/tasks/main.yml

16 lines
309 B
YAML
Raw Normal View History

2022-08-15 20:00:53 +02:00
- name: docker directory
file:
path: /opt/{{ docker_element_service_id }}/
state: directory
- name: prepare docker-compose.yml
template:
src: "{{ item }}"
dest: /opt/{{ docker_element_service_id }}/
with_items:
- docker-compose.yml
- config.json
notify: docker-compose-up