ansible-role-docker_cadvisor/tasks/main.yml

15 lines
293 B
YAML
Raw Normal View History

2022-06-12 23:09:06 +02:00
- name: docker directory
file:
path: /opt/{{ docker_cadvisor_service_id }}/
state: directory
- name: prepare docker-compose.yml
template:
src: "{{ item }}"
dest: /opt/{{ docker_cadvisor_service_id }}/
with_items:
- docker-compose.yml
notify: docker-compose-up