Hi ,
I'm trying to setup passwdless authentication for remote machine , when
i'm doing manually it's working fine when i'm doing by shell script it's
not working could you please help me out this. below is the shell script
Thanks
filename="id_rsa"
path="$HOME/.ssh"
if [ $1 ]
then
hostn
This should do it:
>
>
> ---
>
> - name: Playbook to install postgresql database
> become: true
> hosts: all
>
> tasks:
> - name: Install postgresql database
> package:
> name: postgresql
>
> On Mon, 3 Feb 2020 at 09:51, gaddam mahendra
> w
HI Team,
could you please post a playbook to install postgresql database
thanks
mahi
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to ansible-project+unsubscr
|
-v\r\nusage: sudo [-HPSb] [-p prompt] [-u username|#uid]\r\n { -e file
[...] | -i | -s | }\r\n", "msg": "MODULE FAILURE", "rc": 1}
Kindly help me figure this out.
With Regards
Mahendra Raghwuanshi
--
You received this message because you are subscribe
Hello Kai,
Thanks for the update..
yes it works as root..
And I have used "-s" option ..
ansible root# ansible all -m shell -a "/sbin/ethtool eth4" -s
SSH password:
SUDO password[defaults to SSH password]:
xxx.example.com | success | rc=0 >>
Settings for eth4:
Current message level: 0x
Greetings,
I am to connect few hosts but on few hosts i am get the following error
bash-3.2# ansible app_servers -m shell -a "sudo uptime" -u user2 --ask-pass
-k -K --sudo
SSH password:
SUDO password[defaults to SSH password]:
host1.example.com | FAILED >> {
"failed": true,
"msg":