mirror of
https://github.com/iiab/iiab.git
synced 2025-02-12 19:22:24 +00:00
Update nextcloud_enabled.yml
This commit is contained in:
parent
a6a6e61cdc
commit
f03eb1300f
1 changed files with 5 additions and 3 deletions
|
@ -71,11 +71,13 @@
|
|||
# nextcloud wants to make users rather than just mysql users and not done
|
||||
- name: Create the default user
|
||||
shell: >
|
||||
su -s /bin/sh {{ apache_user }} -c
|
||||
'OC_PASS={{ nextcloud_user_password }};
|
||||
#su -s /bin/sh {{ apache_user }} -c
|
||||
OC_PASS={{ nextcloud_user_password }};
|
||||
php {{ nextcloud_prefix }}/nextcloud/occ user:add
|
||||
--password-from-env --display-name={{ nextcloud_user }}
|
||||
--group="users" {{ nextcloud_user }}'
|
||||
--group="users" {{ nextcloud_user }}
|
||||
become: yes
|
||||
become_user: "{{ apache_user }}"
|
||||
when: nextcloud_enabled and returned_count == "0"
|
||||
|
||||
- name: Remove overwrite.cli.url line (Rewrite URL) from /opt/nextcloud/config/config.php
|
||||
|
|
Loading…
Reference in a new issue