Commit 23d3f857 authored by Pâquerette Instance's avatar Pâquerette Instance
Browse files

Add php_version

parent b3b880d6
......@@ -44,7 +44,7 @@
name: _app_backup_instance
- name: "backup app list"
shell: "php {{ www_root }}/{{ app_instance_id}}/occ app:list > {{ backup_version_dir }}/{{ app_instance_id }}/{{ app_old_version }}/app.list"
shell: "php{{ php_version }} {{ www_root }}/{{ app_instance_id}}/occ app:list > {{ backup_version_dir }}/{{ app_instance_id }}/{{ app_old_version }}/app.list"
become_user: "www-data"
vars:
ansible_ssh_pipelining: true
......@@ -117,7 +117,7 @@
service: name={{ rev_proxy }} state=reloaded
- name: "perform nextcloud upgrade"
command: "php {{ www_root }}/{{ app_instance_id }}/occ upgrade"
command: "php{{ php_version}} {{ www_root }}/{{ app_instance_id }}/occ upgrade"
become_user: "www-data"
vars:
ansible_ssh_pipelining: true
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment