homeserver/playbooks/3_service/munin.yml

18 lines
377 B
YAML
Raw Normal View History

2024-08-12 10:47:34 +02:00
---
- hosts: munin
roles:
2024-08-12 11:13:59 +02:00
- role: ansible-role-apache
tags: "apache"
2024-08-12 11:08:30 +02:00
become: true
2024-08-12 10:47:34 +02:00
- role: ansible-role-munin
tags: "munin"
become: true
2024-08-12 11:54:14 +02:00
post_tasks:
- name: ensure vhost symlink exists
ansible.builtin.file:
src: /var/cache/munin/www
dest: munin.mgrote.net
owner: root
group: root
state: link