nextcloud: Aktualisiere Variablen, automatische Versionsermittlung
This commit is contained in:
parent
e3e6cf142b
commit
d0caf506f9
5 changed files with 28 additions and 24 deletions
|
@ -8,15 +8,20 @@
|
|||
- { name: expires }
|
||||
- { name: headers }
|
||||
- { name: macro }
|
||||
- { name: mpm_prefork, state: absent }
|
||||
- { name: mpm_event }
|
||||
- { name: mpm_prefork, state: absent }
|
||||
- { name: proxy_fcgi }
|
||||
- { name: setenvif }
|
||||
notify: restart apache
|
||||
|
||||
- name: "common | Apache-Konfiguration für NC-Seiten"
|
||||
file:
|
||||
path: /etc/apache2/conf-available/nextcloud_sites.conf
|
||||
state: touch
|
||||
|
||||
- name: "common | Apache-Vorlage für Seitenkonfiguration kopieren"
|
||||
copy:
|
||||
src: ../roles/nextcloud/files/apache_site.conf
|
||||
template:
|
||||
src: ../roles/nextcloud/templates/apache_site.conf.j2
|
||||
dest: /etc/apache2/sites-available/nextcloud.conf
|
||||
|
||||
- name: "common | Apache-Seitenkonfiguration aktivieren"
|
||||
|
@ -37,6 +42,13 @@
|
|||
dest: "/etc/php/{{ php_version.stdout }}/cli/conf.d/30-sao-nextcloud.ini"
|
||||
state: link
|
||||
|
||||
- name: "common | Ermittle letzte Version"
|
||||
shell:
|
||||
cmd: curl -sL "{{ nextcloud_github_api_url }}" | jq -r ".tag_name" | cut -d 'v' -f2
|
||||
warn: false
|
||||
changed_when: false
|
||||
register: latest_version
|
||||
|
||||
- name: "common | Kopiere Update-Skript"
|
||||
template:
|
||||
src: ../roles/nextcloud/templates/nextcloud-updater.j2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue