Add nextcloud.app_pkgs option

This commit is contained in:
Julian Rother 2023-10-29 11:15:07 +01:00
parent a828c79cb4
commit a021ef5919
No known key found for this signature in database
GPG key ID: 8F9B6AE9BAAE4899
2 changed files with 5 additions and 0 deletions

View file

@ -1,5 +1,6 @@
nextcloud: nextcloud:
version: ~ version: ~
app_pkgs: {}
listen: listen:
- "443 ssl" - "443 ssl"
- "[::]:443 ssl" - "[::]:443 ssl"

View file

@ -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 }}"