diff --git a/tasks/nextcloud.yml b/tasks/nextcloud.yml index a8f351e..66cf867 100644 --- a/tasks/nextcloud.yml +++ b/tasks/nextcloud.yml @@ -23,7 +23,19 @@ mode: "0600" backup: true with_fileglob: - - nextcloud/* + - nextcloud/*.ini + - nextcloud/*.conf + +- name: Copy cron.sh for nextcloud + ansible.builtin.copy: + src: "{{ item }}" + dest: "{{ docker_compose_generator_nextcloud_base_path }}/{{ item | basename }}" + owner: "{{ docker_compose_generator_nextcloud_user }}" + group: "{{ docker_compose_generator_nextcloud_group }}" + mode: "0750" + backup: true + with_fileglob: + - nextcloud/*.sh - name: Write docker-compose file ansible.builtin.template: