updated nextcloud state
This commit is contained in:
parent
30765d1ac4
commit
62b8bbaba4
13
states/nextcloud/apps.sls
Normal file
13
states/nextcloud/apps.sls
Normal file
@ -0,0 +1,13 @@
|
||||
---
|
||||
{%- from "nextcloud/map.jinja" import nextcloud with context %}
|
||||
{%- for app in nextcloud.apps %}
|
||||
nextcloud-apps-install-{{ app }}:
|
||||
cmd.run:
|
||||
- name: php {{ nextcloud.install_dir }}/nextcloud/occ app:install {{ app }}
|
||||
- runas: {{ nextcloud.user }}
|
||||
{%- endfor %}
|
||||
|
||||
nextcloud-apps-update:
|
||||
cmd.run:
|
||||
- name: php {{ nextcloud.install_dir }}/nextcloud/occ app:update --all
|
||||
- runas: {{ nextcloud.user }}
|
@ -6,6 +6,9 @@ nextcloud:
|
||||
release_dir: /usr/local/apps/releases
|
||||
user: www-data
|
||||
group: www-data
|
||||
apps:
|
||||
- calendar
|
||||
- contacts
|
||||
config:
|
||||
instanceid: ''
|
||||
passwordsalt: ''
|
||||
|
@ -4,3 +4,4 @@ include:
|
||||
- redis
|
||||
- .install
|
||||
- .config
|
||||
- .apps
|
||||
|
Loading…
Reference in New Issue
Block a user