Use command module instead of shell as no shell functionality is required
Fixes this ansible-lint warning: [ANSIBLE0013] Use shell only when shell functionality is required /roles/fstrim/handlers/systemd-daemon-reload.yml:2 Task/Handler: systemd-daemon-reloadmaster
parent
38fe69cf89
commit
61d05ecbd8
@ -1,3 +1,3 @@
|
|||||||
---
|
---
|
||||||
- name: systemd-daemon-reload
|
- name: systemd-daemon-reload
|
||||||
shell: systemctl daemon-reload
|
command: systemctl daemon-reload
|
||||||
|
Loading…
Reference in New Issue