mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-27 00:05:44 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
18
roles/httpd_php/handlers/main.yml
Normal file
18
roles/httpd_php/handlers/main.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
|
||||
- include: ../httpd_common/handlers/main.yml
|
||||
|
||||
# We need to stop all the pools and then start them again
|
||||
# because if we move one pool config from one version to another
|
||||
# the socket might not be removed at the correct time, depending on the
|
||||
# order of execution
|
||||
- name: restart php-fpm
|
||||
service: name=php{{ item }}-php-fpm state=stopped enabled=True
|
||||
with_items: "{{ httpd_php_versions }}"
|
||||
notify: start php-fpm
|
||||
|
||||
- name: start php-fpm
|
||||
service: name=php{{ item }}-php-fpm state=started enabled=True
|
||||
with_items: "{{ httpd_php_versions }}"
|
||||
|
||||
...
|
Reference in New Issue
Block a user