refactor: standardize tasks’ name

This commit is contained in:
VC
2024-07-05 11:53:35 +02:00
parent 788dfae081
commit 85f0f91887
36 changed files with 114 additions and 138 deletions

View File

@@ -22,7 +22,7 @@
state: present
loop: "{{ muninpkgs }}"
- name: Munin-node conf file
- name: Put munin-node configuration file
ansible.builtin.template:
src: munin-node.conf.j2
dest: /etc/munin/munin-node.conf
@@ -42,7 +42,7 @@
when: "'webservers' in group_names or 'loadbalancers' in group_names"
# for HAProxy servers
- name: Add HAProxy backend module
- name: Add haproxy backend module
ansible.builtin.file:
src: /usr/share/munin/plugins/haproxy_
dest: /etc/munin/plugins/haproxy_current
@@ -110,7 +110,7 @@
- users
## Useless junks for LXC
- name: "Delete junks from LXC machines"
- name: Delete junks for LXC containers
ansible.builtin.file:
path: "/etc/munin/plugins/{{ item }}"
state: absent