Update install.yml

This commit is contained in:
qiaofeng1227 2022-07-05 16:46:33 +08:00 committed by GitHub
parent cef27bb77d
commit 546cd56626
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,3 +37,7 @@
shell: docker ps --format \{\{'json .'\}\}| jq -s map\(\{containername:'.Names',state:'.State'\}\) shell: docker ps --format \{\{'json .'\}\}| jq -s map\(\{containername:'.Names',state:'.State'\}\)
register: check_container_service register: check_container_service
notify: check_container_service notify: check_container_service
handlers:
- name: restart httpd
service: name=httpd state=restarted