I am new to the Ansible world can anyone help me in understanding the difference between shell
and command
in Ansible? When to use shell
and when to use command
?
I know that the command
module is safer, as it is not affected by the user's environment.