no json: error prone
This commit is contained in:
parent
60d30e9df0
commit
e4084956a2
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ actions['install_nextcloud'] = {
|
||||||
admin_pass=node.metadata.get('nextcloud/admin_pass'),
|
admin_pass=node.metadata.get('nextcloud/admin_pass'),
|
||||||
data_dir='/var/lib/nextcloud',
|
data_dir='/var/lib/nextcloud',
|
||||||
),
|
),
|
||||||
'unless': repo.libs.nextcloud.occ('status', output='json') + ' | jq -r .installed | grep -q "^true$"',
|
'unless': repo.libs.nextcloud.occ('status') + ' | grep -q "installed: true"',
|
||||||
'needs': [
|
'needs': [
|
||||||
'directory:/etc/nextcloud',
|
'directory:/etc/nextcloud',
|
||||||
'directory:/opt/nextcloud',
|
'directory:/opt/nextcloud',
|
||||||
|
|
Loading…
Reference in a new issue