forked from jakub/ansible
Refactor check_stack_nextcloud.yml: uncomment stack health check command for execution
This commit is contained in:
@@ -36,7 +36,7 @@
|
|||||||
- "docker exec -u www-data nextcloud php occ app:update --all"
|
- "docker exec -u www-data nextcloud php occ app:update --all"
|
||||||
- "docker exec -u www-data nextcloud php occ maintenance:repair --include-expensive"
|
- "docker exec -u www-data nextcloud php occ maintenance:repair --include-expensive"
|
||||||
- "docker exec -u www-data nextcloud php occ status"
|
- "docker exec -u www-data nextcloud php occ status"
|
||||||
# - "bash /data/compose/nextcloud/stack-health.sh"
|
- "bash /data/compose/nextcloud/stack-health.sh"
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Ensure sshpass is installed (for password-based SSH) # English comments
|
- name: Ensure sshpass is installed (for password-based SSH) # English comments
|
||||||
@@ -80,4 +80,4 @@
|
|||||||
that: "item.rc == 0"
|
that: "item.rc == 0"
|
||||||
fail_msg: "Command failed on VM: {{ item.item }} (rc={{ item.rc }})"
|
fail_msg: "Command failed on VM: {{ item.item }} (rc={{ item.rc }})"
|
||||||
success_msg: "All commands succeeded."
|
success_msg: "All commands succeeded."
|
||||||
loop: "{{ vm_cmds.results }}"
|
loop: "{{ vm_cmds.results }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user