ansible-role-php/handlers/main.yml

20 lines
401 B
YAML
Raw Normal View History

2021-06-12 19:39:41 +02:00
---
- name: reload apache2
service:
name: apache2
state: reloaded
- name: reload php-fpm
service:
name: "php{{ php_version.stdout }}-fpm"
state: reloaded
- name: stop php-fpm-socket
command: systemctl stop php-fpm@*.socket
- name: stop php-fpm-service
command: systemctl stop php-fpm@*.service
- name: start php-fpm-socket
command: systemctl start php-fpm@*.socket --all