ansible-roles/php/handlers/main.yml

32 lines
560 B
YAML

---
- name: restart php5-fpm
service:
name: php5-fpm
state: restarted
when: not ansible_check_mode
- name: restart php7.0-fpm
service:
name: php7.0-fpm
state: restarted
when: not ansible_check_mode
- name: restart php7.3-fpm
service:
name: php7.3-fpm
state: restarted
when: not ansible_check_mode
- name: restart php7.4-fpm
service:
name: php7.4-fpm
state: restarted
when: not ansible_check_mode
- name: restart php8.1-fpm
service:
name: php8.1-fpm
state: restarted
when: not ansible_check_mode