munin_node: ansible-lint fixes

This commit is contained in:
Timo Makinen 2022-10-30 17:03:52 +00:00
parent 186cd19cd1
commit 3e58a1b336
2 changed files with 15 additions and 14 deletions

View file

@ -1,9 +1,10 @@
---
- name: restart munin-node
service:
- name: Restart munin-node
ansible.builtin.service:
name: "{{ munin_node_service }}"
state: restarted
- name: munin-node configure
shell: munin-node-configure --shell --remove-also 2> /dev/null | /bin/sh
notify: restart munin-node
- name: Configure munin-node
ansible.builtin.shell:
cmd: munin-node-configure --shell --remove-also 2> /dev/null | /bin/sh
notify: Restart munin-node