1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 19:52:06 +00:00
iiab/roles/munin/tasks/apache.yml

13 lines
388 B
YAML
Raw Normal View History

2020-01-23 21:37:11 +00:00
- name: Enable http://box/munin via Apache
command: a2ensite munin24.conf
when: munin_enabled
2020-01-23 21:37:11 +00:00
- name: Disable http://box/munin via Apache
command: a2dissite munin24.conf
when: not munin_enabled
- name: (Re)Start '{{ apache_service }}' systemd service
2020-01-23 21:37:11 +00:00
systemd:
name: "{{ apache_service }}" # apache2 or httpd, as set in /opt/iiab/iiab/vars/<OS>.yml
state: restarted