|
@ -76,11 +76,11 @@ |
|
|
|
|
|
|
|
|
- name: 'unpack nextcloud' |
|
|
- name: 'unpack nextcloud' |
|
|
unarchive: |
|
|
unarchive: |
|
|
|
|
|
remote_src: true |
|
|
src: '/opt/nextcloud.tar.bz2' |
|
|
src: '/opt/nextcloud.tar.bz2' |
|
|
dest: '/opt' |
|
|
dest: '/opt' |
|
|
owner: 'www-data' |
|
|
owner: 'www-data' |
|
|
group: 'www-data' |
|
|
group: 'www-data' |
|
|
copy: no |
|
|
|
|
|
when: nextcloud_new_download.changed |
|
|
when: nextcloud_new_download.changed |
|
|
tags: |
|
|
tags: |
|
|
- 'packages' |
|
|
- 'packages' |
|
@ -96,7 +96,7 @@ |
|
|
template: |
|
|
template: |
|
|
src: 'nextcloud.conf.j2' |
|
|
src: 'nextcloud.conf.j2' |
|
|
dest: '/etc/nginx/locations/{{ nextcloud_nginx_fqdn }}/nextcloud.conf' |
|
|
dest: '/etc/nginx/locations/{{ nextcloud_nginx_fqdn }}/nextcloud.conf' |
|
|
notify: 'restart nginx' |
|
|
|
|
|
|
|
|
notify: 'reload nginx' |
|
|
|
|
|
|
|
|
- import_tasks: 'occ.yaml' |
|
|
- import_tasks: 'occ.yaml' |
|
|
vars: |
|
|
vars: |
|
@ -142,7 +142,7 @@ |
|
|
--database-host '/var/run/postgresql' |
|
|
--database-host '/var/run/postgresql' |
|
|
--database-user 'www-data' |
|
|
--database-user 'www-data' |
|
|
--database-pass '' |
|
|
--database-pass '' |
|
|
--admin-pass '{{ initial_root_password }}' |
|
|
|
|
|
|
|
|
--admin-pass '{{ nextcloud_initial_root_password }}' |
|
|
--data-dir '/opt/nextcloud_data' |
|
|
--data-dir '/opt/nextcloud_data' |
|
|
--no-interaction |
|
|
--no-interaction |
|
|
nojson: true |
|
|
nojson: true |
|
|