mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Update main.yml
This commit is contained in:
parent
341580d6c9
commit
d33d09b69f
1 changed files with 4 additions and 4 deletions
|
@ -40,7 +40,7 @@
|
|||
create: yes
|
||||
state: present
|
||||
|
||||
- name: Enable munin-node service
|
||||
- name: Enable & Start munin-node systemd service
|
||||
service:
|
||||
name: munin-node
|
||||
enabled: yes
|
||||
|
@ -54,7 +54,7 @@
|
|||
state: link
|
||||
when: munin_enabled and is_debuntu
|
||||
|
||||
- name: Remove symlink munin24.conf in sites-enabled if not munin_enabled (debuntu)
|
||||
- name: Remove symlink /etc/apache2/sites-enabled/munin24.conf if not munin_enabled (debuntu)
|
||||
file:
|
||||
path: /etc/apache2/sites-enabled/munin24.conf
|
||||
state: absent
|
||||
|
@ -81,9 +81,9 @@
|
|||
- /usr/share/munin/plugins/mysql_threads
|
||||
when: mysql_enabled
|
||||
|
||||
- name: Add 'munin' to list of services at {{ iiab_ini_file }}
|
||||
- name: Add 'munin' variable values to {{ iiab_ini_file }}
|
||||
ini_file:
|
||||
dest: "{{ iiab_ini_file }}"
|
||||
path: "{{ iiab_ini_file }}"
|
||||
section: munin
|
||||
option: "{{ item.option }}"
|
||||
value: "{{ item.value }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue