mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
nextcloud installed detection
This commit is contained in:
parent
e3abe6cce0
commit
144bb15603
1 changed files with 3 additions and 3 deletions
|
@ -31,8 +31,8 @@
|
||||||
shell: >
|
shell: >
|
||||||
sudo -u {{ apache_user }} php
|
sudo -u {{ apache_user }} php
|
||||||
'{{ nextcloud_prefix }}/nextcloud/occ' status |
|
'{{ nextcloud_prefix }}/nextcloud/occ' status |
|
||||||
grep installed | wc | cut -d' ' -f1
|
grep installed: | cut -d' ' -f5
|
||||||
register: returned_count
|
register: returned
|
||||||
|
|
||||||
- name: Run nextcloud initial install wizard
|
- name: Run nextcloud initial install wizard
|
||||||
shell: >
|
shell: >
|
||||||
|
@ -44,7 +44,7 @@
|
||||||
--database-pass "{{ nextcloud_dbpassword }}"
|
--database-pass "{{ nextcloud_dbpassword }}"
|
||||||
--admin-user "root"
|
--admin-user "root"
|
||||||
--admin-pass "{{ mysql_root_password }}"
|
--admin-pass "{{ mysql_root_password }}"
|
||||||
when: nextcloud_enabled and returned_count == "0"
|
when: nextcloud_enabled and returned.stdout == "false"
|
||||||
|
|
||||||
- name: Determine if nextcloud user exists already
|
- name: Determine if nextcloud user exists already
|
||||||
shell: >
|
shell: >
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue