Hi,
I am trying to execute an Ad-Hoc command which requires sudo privileges on
a remote machine.
Below is the command and the error it throws up
kaushik@Machine_1:~$ ansible all -a "cat /etc/shadow" -u kaushik
--ask-become-pass
SUDO password:
192.168.101.12 | FAILED | rc=1 >>
cat:
:
>
> On Sunday, 8 April 2018 18.57.38 CEST Kaushik Gosar wrote:
> > I am trying to execute an Ad-Hoc command which requires sudo privileges
> on
> > a remote machine.
> >
> > Below is the command and the error it throws up
> >
> > kaushik@Machine_1:~