Jérémy Lecour
ee21973371
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2777|524|2253|2462|:+1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/223//ansiblelint">Evolix » ansible-roles » unstable #223</a>
gitea/ansible-roles/pipeline/head This commit looks good
Fully Qualified Collection Name
24 lines
568 B
YAML
24 lines
568 B
YAML
---
|
|
|
|
- name: is Munin present ?
|
|
ansible.builtin.stat:
|
|
path: /etc/munin/plugin-conf.d/munin-node
|
|
check_mode: no
|
|
register: munin_node_plugins_config
|
|
|
|
- name: Munin plugins are present and configured
|
|
block:
|
|
- name: Install munin plugin
|
|
ansible.builtin.copy:
|
|
src: munin_plugin
|
|
dest: /etc/munin/plugins/dovecot
|
|
mode: "0755"
|
|
|
|
- name: Install munin config
|
|
ansible.builtin.copy:
|
|
src: munin_config
|
|
dest: /etc/munin/plugin-conf.d/dovecot
|
|
mode: "0644"
|
|
|
|
when: munin_node_plugins_config.stat.exists
|