1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +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 - libcgi-fast-perl
- libapache2-mod-fcgid - libapache2-mod-fcgid
state: present state: present
#tags: download
when: is_debuntu | bool when: is_debuntu | bool
- name: "Install 2 packages: munin, munin-node (OS's other than debuntu)" - name: "Install 2 packages: munin, munin-node (OS's other than debuntu)"
@ -16,7 +15,6 @@
- munin - munin
- munin-node - munin-node
state: present state: present
#tags: download
when: not is_debuntu when: not is_debuntu
- name: Install /etc/munin/munin.conf and Apache's munin24.conf, from templates - 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 - name: Establish username/password Admin/changeme in /etc/munin/munin-htpasswd
htpasswd: htpasswd:
path: /etc/munin/munin-htpasswd path: /etc/munin/munin-htpasswd
name: Admin name: "{{ munin_username}}" # Admin
password: changeme password: "{{ munin_password }}" # changeme
- name: If MySQL is enabled, let Munin monitor it - name: If MySQL is enabled, let Munin monitor it
copy: copy: