ansible-roles/nginx/handlers/main.yml
William Hirigoyen 0a590b6679
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2670|11|2659|11|:-1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/443//ansiblelint">Evolix » ansible-roles » unstable #443</a>
gitea/ansible-roles/pipeline/head This commit looks good
nginx: fix multiple fails in check mode
2024-01-03 11:29:20 +01:00

19 lines
360 B
YAML

---
- name: restart nginx
ansible.builtin.service:
name: nginx
state: restarted
when: not ansible_check_mode
- name: reload nginx
ansible.builtin.service:
name: nginx
state: reloaded
when: not ansible_check_mode
- name: restart munin
ansible.builtin.service:
name: munin-node
state: restarted
when: not ansible_check_mode