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:
parent
9308dc1c25
commit
3e6bd219b8
1 changed files with 2 additions and 4 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue