ansible-role-docker_grav/tasks/main.yml

15 lines
310 B
YAML

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