Update main.yml

This commit is contained in:
qiaofeng1227 2022-06-29 17:42:22 +08:00 committed by GitHub
parent cd188990df
commit 9566546efd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,6 +20,6 @@
shell: sudo echo "phpmyadmin version $(docker exec -i phpmyadmin bash -c 'cat /var/www/html/package.json | grep version')" 1>> /data/logs/install_version.txt
- name: Check Docker Container Service
shell: docker ps --format \{\{'json .'\}\}| jq -s
shell: docker ps --format \{\{'json .'\}\}| jq -s map\(\{containername:'.Names',state:'.State'\}\)
register: check_container_service
notify: check_container_service