Hi Kai,
After posting this question, I went through the Ansible documentation
again. It's working after using the -b and -K option as I have not
configured passwordless sudo.
Thanks for the reply.
--
Kaushik
On Monday, April 9, 2018 at 1:08:56 AM UTC+5:30, Kai Stian Olstad wrote:
>
> On
*filters:*
* isDefault: "true"*
As
per https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpcs.html
is_default is not correct.
On Wednesday, March 2, 2016 at 8:38:04 AM UTC-8, Stephen Granger wrote:
>
> I spent some time trying to use this module and had
How to respond to prompts with pywinrm / Ansible when using
win_chocolatey? I am installing the android-sdk kit / module with
chocolatey and get prompted to accept the license (y/n), but have no way to
use the expect module with windows unless I am mistaken? Thanks in advance!
John
--
You
On Saturday, 7 April 2018 14.27.58 CEST Karl Auer wrote:
> Possibly bad form to reply to one's own query, but I think I worked it out.
It's not, it's encouraged when you have an answer.
People don't waste time answering and other might have the same question also
get an answer, so it's a win
On Saturday, 7 April 2018 14.50.44 CEST Gabriel Forster wrote:
> Using the find module to find unknown files in a given directory and
> register the results as a variable to be looped through later on. The debug
> of the registered var shows a full on array of all kinds of attributes
> about
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:~$ ansible all -a "cat /etc/shadow" -u kaushik
>
Mobile right now, but looks like you need a become method and or become
user.
On Sun, Apr 8, 2018, 11:57 AM Kaushik Gosar
wrote:
> Hi,
>
> I am trying to execute an Ad-Hoc command which requires sudo privileges on
> a remote machine.
>
> Below is the command and the
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: