ansible-roles/lxc-php/handlers/main.yml

68 lines
1.9 KiB
YAML
Raw Permalink Normal View History

---
2022-06-16 17:58:34 +02:00
- name: Reload PHP-FPM
community.general.lxc_container:
2022-06-16 17:58:34 +02:00
name: "{{ lxc_php_version }}"
container_command: "systemctl reload {{ lxc_php_services[lxc_php_version] }}"
- name: Restart PHP-FPM
community.general.lxc_container:
name: "{{ lxc_php_version }}"
container_command: "systemctl restart {{ lxc_php_services[lxc_php_version] }}"
- name: Reload php83-fpm
community.general.lxc_container:
name: "{{ lxc_php_version }}"
container_command: "systemctl reload php8.3-fpm"
- name: Reload php82-fpm
community.general.lxc_container:
name: "{{ lxc_php_version }}"
container_command: "systemctl reload php8.2-fpm"
- name: Reload php81-fpm
community.general.lxc_container:
name: "{{ lxc_php_version }}"
container_command: "systemctl reload php8.1-fpm"
2021-10-05 14:36:10 +02:00
- name: Reload php80-fpm
community.general.lxc_container:
2021-10-05 14:36:10 +02:00
name: "{{ lxc_php_version }}"
container_command: "systemctl reload php8.0-fpm"
2021-03-31 10:57:29 +02:00
- name: Reload php74-fpm
community.general.lxc_container:
2021-03-31 10:57:29 +02:00
name: "{{ lxc_php_version }}"
container_command: "systemctl reload php7.4-fpm"
- name: Reload php73-fpm
community.general.lxc_container:
name: "{{ lxc_php_version }}"
container_command: "systemctl reload php7.3-fpm"
- name: Reload php70-fpm
community.general.lxc_container:
name: "{{ lxc_php_version }}"
container_command: "systemctl reload php7.0-fpm"
2019-12-03 15:07:57 +01:00
- name: Reload php56-fpm
community.general.lxc_container:
name: "{{ lxc_php_version }}"
container_command: "systemctl reload php5-fpm"
- name: Restart opensmtpd
community.general.lxc_container:
name: "{{ lxc_php_version }}"
container_command: "systemctl restart opensmtpd"
2020-10-19 14:16:53 +02:00
2022-06-16 17:58:34 +02:00
- name: Daemon reload
community.general.lxc_container:
2022-06-16 17:58:34 +02:00
name: "{{ lxc_php_version }}"
container_command: "systemctl daemon-reload"
2020-10-19 14:16:53 +02:00
- name: Restart container
community.general.lxc_container:
2020-10-19 14:16:53 +02:00
name: "{{ lxc_php_version }}"
state: restarted