aboutsummaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2024-07-01 11:04:50 +0200
committerRomain Gonçalves <me@rgoncalves.se>2024-07-01 11:05:18 +0200
commitcd9298a427aa7f17734d0ffd732d5e1ec2815231 (patch)
tree3d44afab8e101143b79edb2fb67d732a230fbeaa /roles
parentc8955a1b204978a63179f35551bdd00ec2f44255 (diff)
downloadrules-cd9298a427aa7f17734d0ffd732d5e1ec2815231.tar.gz
fix(roles/nextcloud): use correct php bin in cron
Diffstat (limited to 'roles')
-rw-r--r--roles/nextcloud/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/nextcloud/tasks/main.yml b/roles/nextcloud/tasks/main.yml
index 9fd0687..2a950c4 100644
--- a/roles/nextcloud/tasks/main.yml
+++ b/roles/nextcloud/tasks/main.yml
@@ -66,7 +66,7 @@
ansible.builtin.cron:
name: nextcloud background jobs
minute: "*/5"
- job: "php -f {{ nextcloud__chroot_dir }}/cron.php"
+ job: "{{ nextcloud__php_bin }} -f {{ nextcloud__chroot_dir }}/cron.php"
user: "{{ httpd_pre__user }}"
- name: start and enable php-fpm service
remember that computers suck.