homeserver/roles/mgrote_munin_server/handlers/main.yml
Michael Grote 0b3467209d
Some checks failed
ci/woodpecker/pr/gitleaks Pipeline failed
ci/woodpecker/pr/ansible-lint unknown status
ci/woodpecker/push/gitleaks Pipeline was successful
ci/woodpecker/push/ansible-lint Pipeline failed
dd
2024-08-21 20:49:01 +02:00

27 lines
490 B
YAML

---
- name: "restart apache2"
become: true
ansible.builtin.systemd:
name: apache2
enabled: true
masked: false
state: restarted
- name: "restart munin"
become: true
ansible.builtin.systemd:
name: munin
enabled: true
masked: false
state: restarted
- name: "Ensure /var/lib/munin/cgi-tmp are set"
ansible.builtin.file:
path: /var/lib/munin/cgi-tmp
state: directory
mode: "0755"
owner: munin
group: www-data
recurse: true
...