1
0
Fork 0
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:
georgejhunt 2017-07-04 12:51:01 -07:00 committed by GitHub
parent de99731869
commit d5397fd2b5

View file

@ -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