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:
|
nextcloud:
|
||||||
version: ~
|
version: ~
|
||||||
|
app_pkgs: {}
|
||||||
listen:
|
listen:
|
||||||
- "443 ssl"
|
- "443 ssl"
|
||||||
- "[::]:443 ssl"
|
- "[::]:443 ssl"
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,10 @@
|
||||||
pkg:
|
pkg:
|
||||||
- nextcloud
|
- nextcloud
|
||||||
|
|
||||||
|
- name: install nextcloud apps
|
||||||
|
apt:
|
||||||
|
pkg: "{{ nextcloud.app_pkgs | dict2items | rejectattr('value', 'none') | map(attribute='key') | list }}"
|
||||||
|
|
||||||
- name: create nextcloud datadir
|
- name: create nextcloud datadir
|
||||||
file:
|
file:
|
||||||
path: "{{ nextcloud.datadir }}"
|
path: "{{ nextcloud.datadir }}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue