Have you set up your ssh keys between the two hosts, i.e., the user running 
Ansible and the target host? What happens if you just try to ssh to the 
target host?

On Wednesday, February 7, 2018 at 6:27:39 AM UTC-5, Alfredo Bosca Bataller 
wrote:
>
> Hi gents,
>
> After installing ansible and check that my version is 2.4.2.0 I have 
> created a inventory file like this:
>
>
>
> <https://lh3.googleusercontent.com/-qoHpiGa_XGE/Wnrhy41fGCI/AAAAAAAAJo8/1absRbOnLy81kBzTzBCWipuMumWER1hfgCLcBGAs/s1600/Ansible_Inv.JPG>
> Afterward, I have tried to access one of them throught ssh but I can't.
>
> The fail message is the next:
>
>
>
> <https://lh3.googleusercontent.com/-MwHI16yYNyI/WnriTtHO62I/AAAAAAAAJpE/SnFuBnGuwfoxeoOH-LelIWB6AyJEZ1QqwCLcBGAs/s1600/Failed%2BMessage.JPG>
>
>
> <https://lh3.googleusercontent.com/-MwHI16yYNyI/WnriTtHO62I/AAAAAAAAJpE/SnFuBnGuwfoxeoOH-LelIWB6AyJEZ1QqwCLcBGAs/s1600/Failed%2BMessage.JPG>
>
>
> <https://lh3.googleusercontent.com/-qoHpiGa_XGE/Wnrhy41fGCI/AAAAAAAAJo8/1absRbOnLy81kBzTzBCWipuMumWER1hfgCLcBGAs/s1600/Ansible_Inv.JPG>
>
>
>
> <https://lh3.googleusercontent.com/-qoHpiGa_XGE/Wnrhy41fGCI/AAAAAAAAJo8/1absRbOnLy81kBzTzBCWipuMumWER1hfgCLcBGAs/s1600/Ansible_Inv.JPG>
>
>
>
> <https://lh3.googleusercontent.com/-qoHpiGa_XGE/Wnrhy41fGCI/AAAAAAAAJo8/1absRbOnLy81kBzTzBCWipuMumWER1hfgCLcBGAs/s1600/Ansible_Inv.JPG>
>
>
>
> <https://lh3.googleusercontent.com/-qoHpiGa_XGE/Wnrhy41fGCI/AAAAAAAAJo8/1absRbOnLy81kBzTzBCWipuMumWER1hfgCLcBGAs/s1600/Ansible_Inv.JPG>
> The username of the network devices is "ccie".
>
> Do you know i fI need to change something in inventory file or ansible.cfg 
> file?
> Thanks in advance!
>
>
>
>

-- 
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...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/4462dfad-13eb-4387-a32f-1100dd447508%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to