# napalm-ansible...NXOS

**URL:** <https://forum.ansible.com/t/napalm-ansible-nxos/27064>\
**Category:** Ansible Project\
**Created:** [March 21, 2018, 3:01am UTC](https://forum.ansible.com/t/napalm-ansible-nxos/27064 "2018-03-21T03:01:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sunil6057](https://avatars.discourse-cdn.com/v4/letter/s/c57346/32.png) [@Sunil6057](https://forum.ansible.com/u/Sunil6057)\
**Post date:** [March 21, 2018, 3:01am UTC](https://forum.ansible.com/t/napalm-ansible-nxos/27064/1 "2018-03-21T03:01:05Z")

</div>

hi

```auto
---
- 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

```

```auto

```

```auto
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

```

---

<div class="post-metadata">

**Author:** ![psprygad](https://avatars.discourse-cdn.com/v4/letter/p/e8c25b/32.png) [@psprygad](https://forum.ansible.com/u/psprygad)\
**Post date:** [March 21, 2018, 11:36am UTC](https://forum.ansible.com/t/napalm-ansible-nxos/27064/2 "2018-03-21T11:36:21Z")

</div>

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.
