25 lines
478 B
YAML
25 lines
478 B
YAML
---
|
|
- name: reload apache
|
|
service:
|
|
name: apache2
|
|
state: reloaded
|
|
|
|
- name: restart apache
|
|
service:
|
|
name: apache2
|
|
state: restarted
|
|
|
|
- name: reload nginx
|
|
service:
|
|
name: nginx
|
|
state: reloaded
|
|
delegate_to: "{{ gateway_host }}"
|
|
|
|
- name: stop php-fpm-socket
|
|
command: systemctl stop php-fpm@*.socket
|
|
|
|
- name: stop php-fpm-service
|
|
command: systemctl stop php-fpm@*.service
|
|
|
|
- name: start php-fpm-socket
|
|
command: systemctl start php-fpm@*.socket --all
|