roman@ansible:~$ ansible all -m apt -a update-cache=yes -b
192.168.1.10 | FAILED! => {
"changed": false,
"module_stderr": "Shared connection to
192.168.1.10 closed.\r\n",
"module_stdout": "sudo: a password is required\r\n",
"msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
"rc": 1
}
так ругается