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
|
|
|
|
|
2024-01-14 20:43:37 +01:00
|
|
|
- name: prepare crontab
|
|
|
|
template:
|
|
|
|
src: "nextcloud_cron"
|
|
|
|
dest: /etc/cron.d/{{ docker_nextcloud_service_id }}_cron
|
|
|
|
|
2022-08-05 15:29:05 +02:00
|
|
|
|