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
|
create: yes
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: Enable munin-node service
|
- name: Enable & Start munin-node systemd service
|
||||||
service:
|
service:
|
||||||
name: munin-node
|
name: munin-node
|
||||||
enabled: yes
|
enabled: yes
|
||||||
|
@ -54,7 +54,7 @@
|
||||||
state: link
|
state: link
|
||||||
when: munin_enabled and is_debuntu
|
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:
|
file:
|
||||||
path: /etc/apache2/sites-enabled/munin24.conf
|
path: /etc/apache2/sites-enabled/munin24.conf
|
||||||
state: absent
|
state: absent
|
||||||
|
@ -81,9 +81,9 @@
|
||||||
- /usr/share/munin/plugins/mysql_threads
|
- /usr/share/munin/plugins/mysql_threads
|
||||||
when: mysql_enabled
|
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:
|
ini_file:
|
||||||
dest: "{{ iiab_ini_file }}"
|
path: "{{ iiab_ini_file }}"
|
||||||
section: munin
|
section: munin
|
||||||
option: "{{ item.option }}"
|
option: "{{ item.option }}"
|
||||||
value: "{{ item.value }}"
|
value: "{{ item.value }}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue