Update main.yml

This commit is contained in:
qiaofeng1227 2022-07-07 16:28:10 +08:00 committed by GitHub
parent 44ff3e838e
commit 80a919eaf0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,8 +6,3 @@
- name: Check phpmyadmin Version - name: Check phpmyadmin Version
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 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 map\(\{containername:'.Names',state:'.State'\}\)
register: check_container_service
notify: check_container_service