updated nextcloud state
This commit is contained in:
parent
7c9f355bba
commit
c8de62ccaf
@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
{%- from "nextcloud/map.jinja" import nextcloud with context %}
|
{%- from "nextcloud/map.jinja" import nextcloud with context %}
|
||||||
|
{%- set _ = nextcloud.config.update({"version": salt['nextcloud.get_version'](nextcloud.install_dir + "/nextcloud/version.php")}) %}
|
||||||
nextcloud-config:
|
nextcloud-config:
|
||||||
file.managed:
|
file.managed:
|
||||||
- name: {{ nextcloud.install_dir }}/nextcloud/config/config.php
|
- name: {{ nextcloud.install_dir }}/nextcloud/config/config.php
|
||||||
@ -7,3 +8,10 @@ nextcloud-config:
|
|||||||
- user: {{ nextcloud.user }}
|
- user: {{ nextcloud.user }}
|
||||||
- group: {{ nextcloud.group }}
|
- group: {{ nextcloud.group }}
|
||||||
- template: jinja
|
- template: jinja
|
||||||
|
|
||||||
|
nextcloud-upgrade:
|
||||||
|
cmd.run:
|
||||||
|
- name: php {{ nextcloud.install_dir }}/nextcloud/occ upgrade
|
||||||
|
- runas: {{ nextcloud.user }}
|
||||||
|
- onchanges:
|
||||||
|
- archive: nextcloud-archive
|
||||||
|
Loading…
Reference in New Issue
Block a user