Compare commits
2 commits
60d30e9df0
...
f82fa22be8
Author | SHA1 | Date | |
---|---|---|---|
![]() |
f82fa22be8 | ||
![]() |
e4084956a2 |
1 changed files with 13 additions and 10 deletions
|
@ -80,15 +80,6 @@ files = {
|
|||
'directory:/etc/nextcloud',
|
||||
],
|
||||
},
|
||||
'/opt/nextcloud/rescan': {
|
||||
'owner': 'www-data',
|
||||
'group': 'www-data',
|
||||
'mode': '550',
|
||||
'needs': [
|
||||
'directory:/opt/nextcloud',
|
||||
'action:extract_nextcloud',
|
||||
],
|
||||
},
|
||||
}
|
||||
|
||||
# SETUP
|
||||
|
@ -106,7 +97,7 @@ actions['install_nextcloud'] = {
|
|||
admin_pass=node.metadata.get('nextcloud/admin_pass'),
|
||||
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': [
|
||||
'directory:/etc/nextcloud',
|
||||
'directory:/opt/nextcloud',
|
||||
|
@ -141,3 +132,15 @@ actions['nextcloud_add_missing_inidces'] = {
|
|||
f'action:extract_nextcloud',
|
||||
],
|
||||
}
|
||||
|
||||
# RESCAN
|
||||
|
||||
files['/opt/nextcloud/rescan'] = {
|
||||
'owner': 'www-data',
|
||||
'group': 'www-data',
|
||||
'mode': '550',
|
||||
'needs': [
|
||||
'directory:/opt/nextcloud',
|
||||
'action:extract_nextcloud',
|
||||
],
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue