1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Update munin/tasks/main.yml

This commit is contained in:
A Holt 2020-01-16 10:38:20 -05:00 committed by GitHub
parent 47879dafd8
commit b16bea5bdd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,22 @@
- name: Install munin - name: Install Munin if it does not appear installed in {{ iiab_state_file }} # /etc/iiab/iiab_state.yml
include_tasks: install.yml include_tasks: install.yml
when: munin_install and not munin_installed is defined when: not munin_installed is defined
- name: Enable munin - name: Enable or Disable Munin
include_tasks: enable.yml include_tasks: enable-or-disable.yml
when: munin_install or munin_installed is defined
- name: Add 'munin' variable values to {{ iiab_ini_file }}
ini_file:
path: "{{ iiab_ini_file }}"
section: munin
option: "{{ item.option }}"
value: "{{ item.value | string }}"
with_items:
- option: name
value: Munin
- option: description
value: '"Munin is a networked resource monitoring tool that can help analyze resource trends and ''what just happened to kill our performance?'' problems."'
- option: installed
value: "{{ munin_install }}"
- option: enabled
value: "{{ munin_enabled }}"