[root@in-6centos50-dt ansible]# ssh [email protected] -p 8022
[email protected]'s password:
*********************************** Warning
***********************************
The Linux shell access is restricted to authorized users for business
purposes.
Unauthorized access is a violation of the law.

Infinera
18-06-2021T21:51
*******************************************************************************
temproot@localhost:~$ ping 172.16.12.215
PING 172.16.12.215 (172.16.12.215) 56(84) bytes of data.
64 bytes from 172.16.12.215: icmp_seq=1 ttl=64 time=0.112 ms
64 bytes from 172.16.12.215: icmp_seq=2 ttl=64 time=0.123 ms
64 bytes from 172.16.12.215: icmp_seq=3 ttl=64 time=0.112 ms
64 bytes from 172.16.12.215: icmp_seq=4 ttl=64 time=0.226 ms
64 bytes from 172.16.12.215: icmp_seq=5 ttl=64 time=0.135 ms

--- 172.16.12.215 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 37ms
rtt min/avg/max/mdev = 0.112/0.141/0.226/0.044 ms

i haven't written any playbook , i am just trying to run "ansible all -m
ping" from shell

On Sat, Jun 19, 2021 at 2:17 AM Antony Stone <
[email protected]> wrote:

> On Friday 18 June 2021 at 22:42:28, nitesh shet wrote:
>
> > temproot is the user to which I manually did the ssh and /home/shared is
> > also belongs to the temproot user and even in my inventory also I
> specially
> > mentioned user as temproot.
>
> Please show us a playbook which exhibits this problem (the shortest
> example
> you can provide which shows it would be good).
>
> Also please copy and paste a short example of a manual SSH session where
> you
> connect to the remote server as the same user that ansible is using and
> run
> the same command you have in the playbook.
>
>
> Antony.
>
> --
> Roses are red,
> Bacon is too,
> Poetry's hard,
> Bacon.
>                                 with thanks to Claire Davison
>
>                                                    Please reply to the
> list;
>                                                          please *don't* CC
> me.
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAPgfy9V151c9dzRXuX7mP%2BuytQGvgNnuKzXYjnUTvb8dypPVzQ%40mail.gmail.com.

Reply via email to