mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Update munin/tasks/install.yml
This commit is contained in:
parent
9c26e934f4
commit
ce2ef7dbd4
1 changed files with 14 additions and 0 deletions
|
@ -36,6 +36,20 @@
|
||||||
name: Admin
|
name: Admin
|
||||||
password: changeme
|
password: changeme
|
||||||
|
|
||||||
|
- name: If MySQL is enabled, let Munin monitor it
|
||||||
|
copy:
|
||||||
|
src: "{{ item }}"
|
||||||
|
dest: /etc/munin/plugins/
|
||||||
|
with_items:
|
||||||
|
- /usr/share/munin/plugins/mysql_
|
||||||
|
- /usr/share/munin/plugins/mysql_bytes
|
||||||
|
- /usr/share/munin/plugins/mysql_innodb
|
||||||
|
- /usr/share/munin/plugins/mysql_isam_space_
|
||||||
|
- /usr/share/munin/plugins/mysql_queries
|
||||||
|
- /usr/share/munin/plugins/mysql_slowqueries
|
||||||
|
- /usr/share/munin/plugins/mysql_threads
|
||||||
|
when: mysql_enabled | bool
|
||||||
|
|
||||||
- name: "Add 'munin_installed: True' to {{ iiab_state_file }}"
|
- name: "Add 'munin_installed: True' to {{ iiab_state_file }}"
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: "{{ iiab_state_file }}" # /etc/iiab/iiab_state.yml
|
dest: "{{ iiab_state_file }}" # /etc/iiab/iiab_state.yml
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue