I am new to 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 one use case
command module is more safe, as it is not affected by the user’s environment.