ansible-php/handlers/main.yml

15 lines
307 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
2018-03-18 23:28:57 +07:00
service:
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
command: 'service {{ php_fpm_service }} restart'
args:
warn: false
when: ansible_virtualization_type == 'docker'