homeserver/roles/mgrote_munin_server/handlers/main.yml

27 lines
490 B
YAML
Raw Normal View History

---
- 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
2024-08-21 20:49:01 +02:00
- 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
...