forked from jakub/ansible
fix: update Docker command for executing PHP scripts in Nextcloud status checks
This commit is contained in:
@@ -621,6 +621,8 @@
|
|||||||
{{ docker_cmd }} exec -u www-data \
|
{{ docker_cmd }} exec -u www-data \
|
||||||
{{ nextcloud_container | quote }} \
|
{{ nextcloud_container | quote }} \
|
||||||
php occ status --output=json |
|
php occ status --output=json |
|
||||||
|
{{ docker_cmd }} exec -i -u www-data \
|
||||||
|
{{ nextcloud_container | quote }} \
|
||||||
php -r '
|
php -r '
|
||||||
$status = json_decode(stream_get_contents(STDIN), true);
|
$status = json_decode(stream_get_contents(STDIN), true);
|
||||||
|
|
||||||
@@ -733,6 +735,8 @@
|
|||||||
{{ docker_cmd }} exec -u www-data \
|
{{ docker_cmd }} exec -u www-data \
|
||||||
{{ nextcloud_container | quote }} \
|
{{ nextcloud_container | quote }} \
|
||||||
php occ status --output=json |
|
php occ status --output=json |
|
||||||
|
{{ docker_cmd }} exec -i -u www-data \
|
||||||
|
{{ nextcloud_container | quote }} \
|
||||||
php -r '
|
php -r '
|
||||||
$status = json_decode(stream_get_contents(STDIN), true);
|
$status = json_decode(stream_get_contents(STDIN), true);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user