ansible-role-docker_nodeexp.../tasks/main.yml

15 lines
301 B
YAML
Raw Normal View History

2022-06-12 23:07:59 +02:00
- 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