ansible-php/handlers/main.yml

15 lines
339 B
YAML
Raw Normal View History

2015-07-22 14:40:20 +07:00
---
2015-07-23 15:40:33 +07:00
- name: restart php-fpm
2021-08-31 18:02:57 +07:00
ansible.builtin.service:
2018-03-18 23:28:57 +07:00
name: '{{ php_fpm_service }}'
state: restarted
2015-07-27 23:09:52 +07:00
when: php_install_fpm
2019-01-28 20:46:58 +07:00
notify: docker restart php-fpm
- name: docker restart php-fpm
2021-08-31 18:02:57 +07:00
ansible.builtin.command: 'service {{ php_fpm_service }} restart'
2019-01-28 20:46:58 +07:00
args:
warn: false
when: ansible_virtualization_type == 'docker'