mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-23 09:20:20 +08:00
Update main.yml
This commit is contained in:
parent
33070fa137
commit
989ab9e9de
@ -30,8 +30,6 @@
|
|||||||
loop: "{{volume_names.stdout_lines}}"
|
loop: "{{volume_names.stdout_lines}}"
|
||||||
|
|
||||||
- name: Check Docker Container Service
|
- name: Check Docker Container Service
|
||||||
shell: |
|
shell: docker ps
|
||||||
echo \"docker ps --format '{{ json . }}' | jq -s 'map({name:.Names,status:.Status})'\" >> /tmp/test1.sh
|
|
||||||
bash /tmp/test.sh
|
|
||||||
register: check_container_service
|
register: check_container_service
|
||||||
notify: check_container_service
|
notify: check_container_service
|
||||||
|
Loading…
Reference in New Issue
Block a user