2015-07-22 14:40:20 +07:00
|
|
|
---
|
2015-07-23 15:40:33 +07:00
|
|
|
|
2022-10-06 19:47:06 +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
|
2022-10-06 19:47:06 +07:00
|
|
|
notify: Docker restart php-fpm
|
2019-01-28 20:46:58 +07:00
|
|
|
|
2023-05-30 15:55:56 +07:00
|
|
|
- name: Docker restart php-fpm # noqa: command-instead-of-module no-changed-when
|
2021-09-01 14:57:23 +07:00
|
|
|
ansible.builtin.command: 'service {{ php_fpm_service }} restart'
|
2019-01-28 20:46:58 +07:00
|
|
|
when: ansible_virtualization_type == 'docker'
|