{"action":"closed","issue":{"url":"https://api.github.com/repos/jedelman8/nxos-ansible/issues/5","labels_url":"https://api.github.com/repos/jedelman8/nxos-ansible/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/jedelman8/nxos-ansible/issues/5/comments","events_url":"https://api.github.com/repos/jedelman8/nxos-ansible/issues/5/events","html_url":"https://github.com/jedelman8/nxos-ansible/issues/5","id":59564746,"number":5,"title":"nxos_feature module not working for Nexus 3k ","user":{"login":"rnilekani","id":6173303,"avatar_url":"https://avatars.githubusercontent.com/u/6173303?v=3","gravatar_id":"","url":"https://api.github.com/users/rnilekani","html_url":"https://github.com/rnilekani","followers_url":"https://api.github.com/users/rnilekani/followers","following_url":"https://api.github.com/users/rnilekani/following{/other_user}","gists_url":"https://api.github.com/users/rnilekani/gists{/gist_id}","starred_url":"https://api.github.com/users/rnilekani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rnilekani/subscriptions","organizations_url":"https://api.github.com/users/rnilekani/orgs","repos_url":"https://api.github.com/users/rnilekani/repos","events_url":"https://api.github.com/users/rnilekani/events{/privacy}","received_events_url":"https://api.github.com/users/rnilekani/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-03-02T22:47:55Z","updated_at":"2015-03-03T16:21:28Z","closed_at":"2015-03-03T16:21:28Z","body":"I am getting the following error when testing this module on N3k running the following software version: version 6.0(2)U4(3)\r\n\"{\"failed\": true, \"features_currently_supported\": [], \"invalid_feature\": \"lacp\"}\r\nmsg: Invalid feature name.\"\r\n\r\nNote: Same error for all the features. i.e ospf, vpc, bgp etc\r\n\r\n\r\nnxos-ansible ronnilekani$ cat test_nxos_feature.yml \r\n\r\n---\r\n- name: feature testing for cloud test bed\r\n  hosts: nexus3k1\r\n  connection: local\r\n  gather_facts: no\r\n\r\n\r\n  tasks:\r\n\r\n    # Ensure lacp is enabled\r\n    - nxos_feature: feature=lacp state=enabled host={{ inventory_hostname }}\r\n\r\n    # Ensure ospf is disabled\r\n    - nxos_feature: feature=ospf state=disabled host={{ inventory_hostname }}\r\n\r\n    # Ensure vpc is enabled\r\n    - nxos_feature: feature=vpc state=enabled host={{ inventory_hostname }}\r\n\r\n\r\nnxos-ansible ronnilekani$ sudo ansible-playbook -i hosts test_nxos_feature.yml \r\nPassword:\r\n\r\nPLAY [feature testing] ******************************************************** \r\n\r\nTASK: [nxos_feature feature=lacp state=enabled host={{ inventory_hostname }}] *** \r\nfailed: [nexus3k1] => {\"failed\": true, \"features_currently_supported\": [], \"invalid_feature\": \"lacp\"}\r\nmsg: Invalid feature name.\r\n\r\nFATAL: all hosts have already failed -- aborting\r\n\r\nPLAY RECAP ******************************************************************** \r\n           to retry, use: --limit @/Users/ronnilekani/test_nxos_feature.retry\r\n\r\nnexus3k1                   : ok=0    changed=0    unreachable=0    failed=1   \r\n\r\n\r\n\r\n\r\n"}}