{"action":"created","issue":{"url":"https://api.github.com/repos/napalm-automation/napalm-ansible/issues/35","repository_url":"https://api.github.com/repos/napalm-automation/napalm-ansible","labels_url":"https://api.github.com/repos/napalm-automation/napalm-ansible/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/napalm-automation/napalm-ansible/issues/35/comments","events_url":"https://api.github.com/repos/napalm-automation/napalm-ansible/issues/35/events","html_url":"https://github.com/napalm-automation/napalm-ansible/issues/35","id":186600646,"number":35,"title":"Support enable mode and passing in of secret argument","user":{"login":"nickermire","id":6569703,"avatar_url":"https://avatars.githubusercontent.com/u/6569703?v=3","gravatar_id":"","url":"https://api.github.com/users/nickermire","html_url":"https://github.com/nickermire","followers_url":"https://api.github.com/users/nickermire/followers","following_url":"https://api.github.com/users/nickermire/following{/other_user}","gists_url":"https://api.github.com/users/nickermire/gists{/gist_id}","starred_url":"https://api.github.com/users/nickermire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickermire/subscriptions","organizations_url":"https://api.github.com/users/nickermire/orgs","repos_url":"https://api.github.com/users/nickermire/repos","events_url":"https://api.github.com/users/nickermire/events{/privacy}","received_events_url":"https://api.github.com/users/nickermire/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":20,"created_at":"2016-11-01T17:52:44Z","updated_at":"2016-11-20T16:54:36Z","closed_at":"2016-11-20T16:54:36Z","body":"I'm also having this problem when calling napalm via Ansible. Had to set privilege mode of user to 15 in order to get this module to work. \r\n\r\nAlso have to delete the secret variable as it breaks the playbook.\r\n\r\nNetmiko version is 1.1.0.\r\n\r\nHere is my playbook.yml\r\n` - name: Push config to switch group.\r\nhosts: test \r\nconnection: local\r\ngather_facts: no\r\n\r\ntasks:\r\n- name: get facts from device\r\nnapalm_get_facts:\r\nhostname={{ inventory_hostname }}\r\nusername=theusername\r\ndev_os=ios\r\npassword=thepassword\r\nsecret=thesecret\r\nfilter='interfaces'\r\nregister: result\r\n\r\n- debug: msg= \"{{ result.stdout }}\"`"},"comment":{"url":"https://api.github.com/repos/napalm-automation/napalm-ansible/issues/comments/261789766","html_url":"https://github.com/napalm-automation/napalm-ansible/issues/35#issuecomment-261789766","issue_url":"https://api.github.com/repos/napalm-automation/napalm-ansible/issues/35","id":261789766,"user":{"login":"ktbyers","id":899716,"avatar_url":"https://avatars.githubusercontent.com/u/899716?v=3","gravatar_id":"","url":"https://api.github.com/users/ktbyers","html_url":"https://github.com/ktbyers","followers_url":"https://api.github.com/users/ktbyers/followers","following_url":"https://api.github.com/users/ktbyers/following{/other_user}","gists_url":"https://api.github.com/users/ktbyers/gists{/gist_id}","starred_url":"https://api.github.com/users/ktbyers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktbyers/subscriptions","organizations_url":"https://api.github.com/users/ktbyers/orgs","repos_url":"https://api.github.com/users/ktbyers/repos","events_url":"https://api.github.com/users/ktbyers/events{/privacy}","received_events_url":"https://api.github.com/users/ktbyers/received_events","type":"User","site_admin":false},"created_at":"2016-11-20T16:54:36Z","updated_at":"2016-11-20T16:54:36Z","body":"I am just going to close this...open it if you still have issues.\r\n\r\nI tested it and saw no issue both at Python level and using Ansible."}}
{"actor":{"display_login":"ktbyers"}}