*Inventory.txt*
[image: Capture.PNG]

*Playbook: playbook-1.yml*

*[image: Capture3.PNG]*

*ansible.cfg:*

[default]
export ANSIBLE_PARAMIKO_LOOK_FOR_KEYS=false
[paramiko_connection]
look_for_keys=false
[persistant_connection]
command_timeout=60 

*Command:*
[image: Capture2.PNG]

*Result:*
[image: Capture.PNG]


Thanks in advance :-)
On Tuesday, June 28, 2022 at 9:56:52 AM UTC-4 Hossein Malakooti wrote:

> Hi Ashish
> Thanks for your reply you are right I've corrected that bit is didn't fix 
> the actual problem :-(
>
> Regards,
>
> *Hossein Malakooti*
> Network Administrator
> Technical Services. I.T
>
> TST-CF Express
> 5200 Maingate Drive
> Mississauga, Ontario  L4W 1G5
> 905-(206)-2223 <(905)%20206-2223> 
>
> https://www.tst-cfexpress.com <http://www.tst-cfexpress.com>
>
>
> Disclaimer 
> <https://tficloud.tfitservices.com/Signature/Disclaimer/English.aspx?Id=402>  
> |  Avis de non-responsabilité 
> <https://tficloud.tfitservices.com/Signature/Disclaimer/French.aspx?Id=402>
>
>
>
>
>
> On Mon, Jun 27, 2022 at 2:28 AM Ashish Sagar <[email protected]> wrote:
>
>> Can you please try to change the incorrect ansible parameter 
>> (a*b*sible_user) 
>> to ansible_user=cisco and let me know.
>>
>> Thanks
>> Ashish
>>
>> On Fri, Jun 24, 2022 at 8:15 PM Hossein Malakooti <
>> [email protected]> wrote:
>>
>>> Hello Dear Gurus
>>> I am trying to just simply connect to my Cisco switch. I've red previous 
>>> topic about this issue but non of them helped me figure out how to fix this 
>>> , your help is much appreciated 
>>>
>>> here is my inventory file 
>>> [image: Capture.PNG]
>>> and here is the ping command I use 
>>> [image: Capture1.PNG]
>>> I am using:
>>> Ansible version 2.9.27
>>> CENTOS 7.9.2009 
>>> Python 2.7.5
>>>
>>> Thank you 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 [email protected].
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/ansible-project/9edf4c43-f53d-4949-8bbb-be728921c03cn%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/ansible-project/9edf4c43-f53d-4949-8bbb-be728921c03cn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> -- 
>>
> You received this message because you are subscribed to a topic in the 
>> Google Groups "Ansible Project" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/ansible-project/hNBqHSBth4o/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to 
>> [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/ansible-project/CADa6Y5YjvnRVH9%3Dy3aCdAe%2Bfp-EK%2B6cmxBabS%3DX2qVsyZwQgDQ%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/ansible-project/CADa6Y5YjvnRVH9%3Dy3aCdAe%2Bfp-EK%2B6cmxBabS%3DX2qVsyZwQgDQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/4b82e94a-be11-49c3-b023-b5e7f30e55dan%40googlegroups.com.

Reply via email to