ansible-roles/lxc-php/handlers/main.yml
Ludovic Poujol f2ebe2d878
All checks were successful
continuous-integration/drone/push Build is passing
lxc-php: Add php 7.4 support
2021-03-31 10:57:29 +02:00

32 lines
752 B
YAML

---
- name: Reload php74-fpm
lxc_container:
name: "{{ lxc_php_version }}"
container_command: "systemctl reload php7.4-fpm"
- name: Reload php73-fpm
lxc_container:
name: "{{ lxc_php_version }}"
container_command: "systemctl reload php7.3-fpm"
- name: Reload php70-fpm
lxc_container:
name: "{{ lxc_php_version }}"
container_command: "systemctl reload php7.0-fpm"
- name: Reload php56-fpm
lxc_container:
name: "{{ lxc_php_version }}"
container_command: "systemctl reload php5-fpm"
- name: Restart opensmtpd
lxc_container:
name: "{{ lxc_php_version }}"
container_command: "systemctl restart opensmtpd"
- name: Restart container
lxc_container:
name: "{{ lxc_php_version }}"
state: restarted