1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-14 20:22:08 +00:00

Clean & softcode munin/tasks/install.yml

This commit is contained in:
A Holt 2020-01-18 01:28:09 -05:00 committed by GitHub
parent 9308dc1c25
commit 3e6bd219b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,6 @@
- libcgi-fast-perl
- libapache2-mod-fcgid
state: present
#tags: download
when: is_debuntu | bool
- name: "Install 2 packages: munin, munin-node (OS's other than debuntu)"
@ -16,7 +15,6 @@
- munin
- munin-node
state: present
#tags: download
when: not is_debuntu
- name: Install /etc/munin/munin.conf and Apache's munin24.conf, from templates
@ -33,8 +31,8 @@
- name: Establish username/password Admin/changeme in /etc/munin/munin-htpasswd
htpasswd:
path: /etc/munin/munin-htpasswd
name: Admin
password: changeme
name: "{{ munin_username}}" # Admin
password: "{{ munin_password }}" # changeme
- name: If MySQL is enabled, let Munin monitor it
copy: