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-reload
This commit is contained in:
parent
38fe69cf89
commit
61d05ecbd8
1 changed files with 1 additions and 1 deletions
|
@ -1,3 +1,3 @@
|
||||||
---
|
---
|
||||||
- name: systemd-daemon-reload
|
- name: systemd-daemon-reload
|
||||||
shell: systemctl daemon-reload
|
command: systemctl daemon-reload
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue