mirror of
https://github.com/iiab/iiab.git
synced 2025-02-12 19:22:24 +00:00
use gawk to fetch installed state (#52)
* use gawk to fetch installed state * mysql_user priv was keeping user from begin created * backout the change (a debug test) which ignored proper function on other distors * backout the change -- GRANT is an additional capability
This commit is contained in:
parent
de99731869
commit
d5397fd2b5
1 changed files with 3 additions and 3 deletions
|
@ -29,9 +29,9 @@
|
|||
# the install wizard does not succeed if already installed
|
||||
- name: Determine if nextcloud is installed
|
||||
shell: >
|
||||
sudo -u {{ apache_user }} php
|
||||
'{{ nextcloud_prefix }}/nextcloud/occ' status |
|
||||
grep installed: | cut -d' ' -f5
|
||||
sudo -u {{ apache_user }} php
|
||||
'{{ nextcloud_prefix }}/nextcloud/occ' status |
|
||||
gawk '/installed:/ { print $3 }'
|
||||
register: returned
|
||||
|
||||
- name: Run nextcloud initial install wizard
|
||||
|
|
Loading…
Reference in a new issue