mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
cleaner Ansible messaging
This commit is contained in:
parent
a7cf338aa9
commit
4be8702090
1 changed files with 6 additions and 7 deletions
|
@ -1,4 +1,4 @@
|
|||
- name: Install munin package
|
||||
- name: Install Munin package
|
||||
package: name={{ item }}
|
||||
state=present
|
||||
with_items:
|
||||
|
@ -11,7 +11,7 @@
|
|||
- download
|
||||
when: is_debuntu
|
||||
|
||||
- name: Install munin package
|
||||
- name: Install Munin package
|
||||
package: name={{ item }}
|
||||
state=present
|
||||
with_items:
|
||||
|
@ -21,7 +21,7 @@
|
|||
- download
|
||||
when: not is_debuntu
|
||||
|
||||
- name: Copy munin config file
|
||||
- name: Copy Munin config file
|
||||
template: src={{ item.src }}
|
||||
dest={{ item.dest }}
|
||||
owner=root
|
||||
|
@ -44,13 +44,13 @@
|
|||
state=started
|
||||
when: munin_enabled
|
||||
|
||||
- name: Enable apache lookup
|
||||
- name: Enable Apache lookup
|
||||
file: src=/etc/apache2/sites-available/munin24.conf
|
||||
dest=/etc/apache2/sites-enabled/munin24.conf
|
||||
state=link
|
||||
when: munin_enabled and is_debuntu
|
||||
|
||||
- name: disable apache lookup
|
||||
- name: Disable Apache lookup
|
||||
file: src=/etc/apache2/sites-available/munin24.conf
|
||||
dest=/etc/apache2/sites-enabled/munin24.conf
|
||||
state=absent
|
||||
|
@ -62,7 +62,7 @@
|
|||
state=stopped
|
||||
when: not munin_enabled
|
||||
|
||||
- name: If mysql is enabled, let munin monitor it
|
||||
- name: If MySQL is enabled, let Munin monitor it
|
||||
copy: dest=/etc/munin/plugins/
|
||||
src={{ item }}
|
||||
with_items:
|
||||
|
@ -89,4 +89,3 @@
|
|||
value: "{{ munin_install }}"
|
||||
- option: enabled
|
||||
value: "{{ munin_enabled }}"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue