From 546cd566261f52723b29ebe9586e38eed1b176fc Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Tue, 5 Jul 2022 16:46:33 +0800 Subject: [PATCH] Update install.yml --- apps/tasks/install.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/tasks/install.yml b/apps/tasks/install.yml index 0855ea03..62b51eb3 100644 --- a/apps/tasks/install.yml +++ b/apps/tasks/install.yml @@ -37,3 +37,7 @@ shell: docker ps --format \{\{'json .'\}\}| jq -s map\(\{containername:'.Names',state:'.State'\}\) register: check_container_service notify: check_container_service + +handlers: + - name: restart httpd + service: name=httpd state=restarted