ansible-role-docker_nodeexp.../tasks/main.yml
2022-06-12 23:07:59 +02:00

14 lines
301 B
YAML

- name: docker directory
file:
path: /opt/{{ docker_nodeexporter_service_id }}/
state: directory
- name: prepare docker-compose.yml
template:
src: "{{ item }}"
dest: /opt/{{ docker_nodeexporter_service_id }}/
with_items:
- docker-compose.yml
notify: docker-compose-up