Nextcloud: Configure PHP cli via role
This commit is contained in:
parent
9cafdd4bc8
commit
3fa449e628
3 changed files with 12 additions and 13 deletions
|
@ -1,16 +1,4 @@
|
|||
---
|
||||
- name: "Common | Kopiere PHP-CLI-Konfiguration"
|
||||
ansible.builtin.copy:
|
||||
src: 30-sao-nextcloud.ini
|
||||
dest: "/etc/php/{{ php_version.stdout }}/mods-available/sao-nextcloud.ini"
|
||||
mode: "0644"
|
||||
|
||||
- name: "Common | Aktiviere PHP-CLI-Konfiguration"
|
||||
ansible.builtin.file:
|
||||
src: "/etc/php/{{ php_version.stdout }}/mods-available/sao-nextcloud.ini"
|
||||
dest: "/etc/php/{{ php_version.stdout }}/cli/conf.d/30-sao-nextcloud.ini"
|
||||
state: link
|
||||
|
||||
- name: "Common | Ermittle aktuelle Nextcloud-Version"
|
||||
ansible.builtin.shell:
|
||||
cmd: curl -sL "{{ nextcloud_github_api_url }}" | jq -r ".tag_name" | cut -d 'v' -f2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue