The NAPALM library does not support connecting to NXOS devices using SSH, only NXAPI. If you want to connect using SSH, I would recommend using the nxos core modules instead.
On Tue, Mar 20, 2018 at 11:01 PM Sunil6057 <[email protected]> wrote: > hi > > --- > - hosts: leaf > connection: local > tasks: > - napalm_install_config: > hostname: "{{ inventory_hostname }}" > username: "{{ username }}" > password: "{{ password }}" > dev_os: "{{ nxos }}" > config_file: leaf.conf > commit_changes: True > diff_file: initial.diff > > > This is the yml file. By default it tries to connect using HTTPS (NXAPI). How > do i bypass this and make it connect using SSH > > -- > 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 post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/135ca6c8-7427-42ae-94e5-53ed2c77b425%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/135ca6c8-7427-42ae-94e5-53ed2c77b425%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAKEs6adHRpPeRY-8R-ntS0__Dn89gMUXgOUKS6gP-5jagCNswA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
