24 lines
566 B
YAML
24 lines
566 B
YAML
---
|
|
- name: reload apache2
|
|
ansible.builtin.service:
|
|
name: apache2
|
|
state: reloaded
|
|
|
|
- name: reload php-fpm
|
|
ansible.builtin.service:
|
|
name: "php{{ php_version.stdout }}-fpm"
|
|
state: reloaded
|
|
|
|
- name: stop php-fpm-socket
|
|
ansible.builtin.command: systemctl stop php-fpm@*.socket
|
|
|
|
- name: stop php-fpm-service
|
|
ansible.builtin.command: systemctl stop php-fpm@*.service
|
|
|
|
- name: start php-fpm-socket
|
|
ansible.builtin.command: systemctl start php-fpm@*.socket --all
|
|
|
|
- name: reload monit
|
|
ansible.builtin.service:
|
|
name: monit
|
|
state: reloaded
|