2015-07-22 14:40:20 +07:00
|
|
|
---
|
2015-07-23 15:40:33 +07:00
|
|
|
|
2022-10-06 17:42:56 +07:00
|
|
|
- name: Restart php-fpm
|
2021-09-01 14:57:23 +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
|
|
|
|
|
2022-10-06 17:42:56 +07:00
|
|
|
- name: Docker restart php-fpm
|
2021-09-01 14:57:23 +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'
|