1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Update setup.yml

This commit is contained in:
A Holt 2020-01-07 12:26:55 -05:00 committed by GitHub
parent dfb383f817
commit 0f2c126249
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,7 +14,7 @@
- ::1
- localhost
# the install wizard does not succeed if already installed
# The install wizard fails if already installed.
- name: Determine if Nextcloud is installed
shell: >
php {{ nextcloud_prefix }}/nextcloud/occ status |
@ -37,7 +37,9 @@
become_user: "{{ apache_user }}"
when: nextcloud_enabled and returned.stdout == "false"
- name: Allow access from all hosts and ips
# RELATED: /etc/apache2/sites-available/nextcloud.conf sourced from
# https://github.com/iiab/iiab/blob/master/roles/nextcloud/templates/nextcloud.conf.j2
- name: 'Allow Nextcloud access from all hosts and IP addresses (SEE ALSO: /etc/apache2/sites-available/nextcloud.conf)'
command: php {{ nextcloud_prefix }}/nextcloud/occ config:system:set trusted_domains 1 --value=*
become: yes
become_user: "{{ apache_user }}"