style: make ansible-lint happier

This commit is contained in:
VC
2024-07-05 11:53:33 +02:00
parent a0b23684a5
commit 574982340e
11 changed files with 90 additions and 78 deletions

View File

@@ -1,21 +1,21 @@
---
- name: install nut client
package:
- name: Rnstall nut client
ansible.builtin.package:
name: nut-client
state: present
- name: upsmon.conf file
template:
- name: Upsmon.conf file
ansible.builtin.template:
src: upsmon.conf.j2
dest: /etc/nut/upsmon.conf
mode: '0640'
notify: restart nut-client
notify: Restart nut-client
- name: nut.conf file
copy:
- name: Nut.conf file
ansible.builtin.copy:
src: files/nut.conf
dest: /etc/nut/nut.conf
mode: '0640'
when: inventory_hostname not in groups['nut_server']
notify: restart nut-client
notify: Restart nut-client