ansible-role-docker_nextcloud/tasks/main.yml

21 lines
435 B
YAML
Raw Normal View History

2022-08-05 15:29:05 +02:00
- name: docker directory
file:
path: /opt/{{ docker_nextcloud_service_id }}/
state: directory
- name: prepare docker-compose.yml
template:
src: "{{ item }}"
dest: /opt/{{ docker_nextcloud_service_id }}/
with_items:
- docker-compose.yml
- php.ini
notify: docker-compose-up
- name: prepare crontab
template:
src: "nextcloud_cron"
dest: /etc/cron.d/{{ docker_nextcloud_service_id }}_cron
2022-08-05 15:29:05 +02:00