diff --git a/roles/munin/tasks/main.yml b/roles/munin/tasks/main.yml index 558cfa3ce..4a5f0e565 100644 --- a/roles/munin/tasks/main.yml +++ b/roles/munin/tasks/main.yml @@ -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 }}"