address {{ kessel_addr }}
dest: /etc/munin/munin-conf.d/zzz-site.cfg
notify: Restart Munin.
+
+- name: Start Munin.
+ become: yes
+ systemd:
+ service: munin
+ state: started
+ tags: actualizer
+
+- name: Enable Munin
+ become: yes
+ systemd:
+ service: munin
+ enabled: yes
#+END_SRC
The core machine's sensors produce some unfortunate measurements. The
regexp: "^allow [^]{{ core_addr|regex_escape }}[$]$"
line: "allow ^{{ core_addr|regex_escape }}$"
path: /etc/munin/munin-node.conf
- notify: Restart Munin node.
+ notify: Restart Munin Node.
- name: Add {{ ansible_user }} to munin group.
become: yes
name: "{{ ansible_user }}"
append: yes
groups: munin
+
+- name: Start Munin Node.
+ become: yes
+ systemd:
+ service: munin-node
+ state: started
+ tags: actualizer
+
+- name: Enable Munin Node.
+ become: yes
+ systemd:
+ service: munin-node
+ enabled: yes
+#+END_SRC
+
+#+CAPTION: [[file:roles_t/abbey-cloister/handlers/main.yml][=roles_t/abbey-cloister/handlers/main.yml=]]
+#+BEGIN_SRC conf :tangle roles_t/abbey-cloister/handlers/main.yml
+
+- name: Restart Munin Node.
+ become: yes
+ systemd:
+ service: munin-node
+ state: restarted
+ tags: actualizer
#+END_SRC
Again, one of our cloistered hosts has sensors producing unfortunate
regexp: "^allow [^]{{ core_addr|regex_escape }}[$]$"
line: "allow ^{{ core_addr|regex_escape }}$"
path: /etc/munin/munin-node.conf
- notify: Restart Munin node.
+ notify: Restart Munin Node.
- name: Add {{ ansible_user }} to munin group.
become: yes
append: yes
groups: munin
+- name: Start Munin Node.
+ become: yes
+ systemd:
+ service: munin-node
+ state: started
+ tags: actualizer
+
+- name: Enable Munin Node.
+ become: yes
+ systemd:
+ service: munin-node
+ enabled: yes
+
- name: Configure {{ inventory_hostname }} sensors(1).
copy:
content: |