2021-12-01 19:13:34 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
# 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 }}"
|
|
|
|
|
2023-03-08 21:00:12 +01:00
|
|
|
- name: systemd-tmpfiles
|
|
|
|
command: systemd-tmpfiles --create
|
|
|
|
|
2021-12-01 19:13:34 +01:00
|
|
|
...
|