diff --git a/tasks/main.yml b/tasks/main.yml index 77e8a01..a23bc0d 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -47,6 +47,11 @@ src: files/fpm-nextcloud.conf dest: /etc/php-legacy/php-fpm.d/nextcloud.conf +- name: ensure php-fpm-legacy override directory exists + ansible.builtin.file: + path: /etc/systemd/system/php-fpm-legacy.service.d/ + state: directory + - name: deploy php-fpm systemd override ansible.builtin.copy: src: files/php-fpm-override.conf @@ -59,6 +64,11 @@ dest: /etc/nginx/conf.d/nextcloud.conf #notify nginx +- name: ensure nextcloud-cron override directory exists + ansible.builtin.file: + path: /etc/systemd/system/nextcloud-cron.service.d/ + state: directory + - name: deploy nextcloud cron override ansible.builtin.copy: src: files/nextcloud-cron-override.conf