
Resolve "Use command module"

Closes #10 (closed)
Merge request reports
Activity
added Doing label
assigned to @arthur.boudreault
According to various sources (https://www.youtube.com/watch?v=57gAqKvAKck or https://stackoverflow.com/questions/56663332/difference-between-shell-and-command-in-ansible) it is not useful to use shell ansible module when not working with operands. Therefore I have decided to switch every actions to command module, more secure. Ansible-lint says "Shell should only be used when piping, redirecting or chaining commands"
Edited by Arthur BOUDREAULTadded 1 commit
-
67fd258e -
refactor: Command ansible module across the repo for better security. Shell...
-
67fd258e -
added Need review label and removed Doing label
- Resolved by Arthur BOUDREAULT
- Resolved by Arthur BOUDREAULT
- Resolved by Arthur BOUDREAULT
All of @cchaudier suggestions were tested and did not break anything. Adding them to the MR.
mentioned in commit c30a2214