mirror of
https://github.com/HanXHX/ansible-php.git
synced 2026-04-27 14:32:09 +07:00
⚗️ Modernize and add CI
This commit is contained in:
@@ -1,14 +1,7 @@
|
||||
---
|
||||
|
||||
- name: restart php-fpm
|
||||
- name: Restart php-fpm
|
||||
ansible.builtin.service:
|
||||
name: '{{ php_fpm_service }}'
|
||||
state: restarted
|
||||
when: php_install_fpm
|
||||
notify: docker restart php-fpm
|
||||
|
||||
- name: docker restart php-fpm
|
||||
ansible.builtin.command: 'service {{ php_fpm_service }} restart'
|
||||
args:
|
||||
warn: false
|
||||
when: ansible_virtualization_type == 'docker'
|
||||
|
||||
Reference in New Issue
Block a user