Update main.yml

This commit is contained in:
qiaofeng1227 2022-06-28 09:09:20 +08:00 committed by GitHub
parent 2787ea39ae
commit c7d4e6d7fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,6 +30,6 @@
loop: "{{volume_names.stdout_lines}}" loop: "{{volume_names.stdout_lines}}"
- name: Check Docker Container Service - name: Check Docker Container Service
shell: docker ps --format '{{ json . }}' | jq -s 'map({name:.Names,status:.Status})' shell: docker ps
register: check_container_service register: check_container_service
notify: check_container_service notify: check_container_service