Add nextcloud.app_pkgs option
This commit is contained in:
parent
a828c79cb4
commit
a021ef5919
2 changed files with 5 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
|||
nextcloud:
|
||||
version: ~
|
||||
app_pkgs: {}
|
||||
listen:
|
||||
- "443 ssl"
|
||||
- "[::]:443 ssl"
|
||||
|
|
|
|||
|
|
@ -17,6 +17,10 @@
|
|||
pkg:
|
||||
- nextcloud
|
||||
|
||||
- name: install nextcloud apps
|
||||
apt:
|
||||
pkg: "{{ nextcloud.app_pkgs | dict2items | rejectattr('value', 'none') | map(attribute='key') | list }}"
|
||||
|
||||
- name: create nextcloud datadir
|
||||
file:
|
||||
path: "{{ nextcloud.datadir }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue