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
.
19 lines
325 B
YAML
19 lines
325 B
YAML
---
|
|
- name: reload haproxy
|
|
service:
|
|
name: haproxy
|
|
state: reloaded
|
|
when: not ansible_check_mode
|
|
|
|
- name: restart haproxy
|
|
service:
|
|
name: haproxy
|
|
state: restarted
|
|
when: not ansible_check_mode
|
|
|
|
- name: restart munin-node
|
|
service:
|
|
name: munin-node
|
|
state: restarted
|
|
when: not ansible_check_mode
|