fc692cf65b
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
Use “when: not ansible_check_mode” or “when <file>.stat.exists or not
ansible_check_mode” in order to provide a meaningful diff if possible.
This is an improvement from the previously reverted commit
1728eaee68
.
32 lines
560 B
YAML
32 lines
560 B
YAML
---
|
|
|
|
- name: restart php5-fpm
|
|
service:
|
|
name: php5-fpm
|
|
state: restarted
|
|
when: not ansible_check_mode
|
|
|
|
- name: restart php7.0-fpm
|
|
service:
|
|
name: php7.0-fpm
|
|
state: restarted
|
|
when: not ansible_check_mode
|
|
|
|
- name: restart php7.3-fpm
|
|
service:
|
|
name: php7.3-fpm
|
|
state: restarted
|
|
when: not ansible_check_mode
|
|
|
|
- name: restart php7.4-fpm
|
|
service:
|
|
name: php7.4-fpm
|
|
state: restarted
|
|
when: not ansible_check_mode
|
|
|
|
- name: restart php8.1-fpm
|
|
service:
|
|
name: php8.1-fpm
|
|
state: restarted
|
|
when: not ansible_check_mode
|