{"action":"created","issue":{"url":"https://api.github.com/repos/Apstra/aos-ansible/issues/6","repository_url":"https://api.github.com/repos/Apstra/aos-ansible","labels_url":"https://api.github.com/repos/Apstra/aos-ansible/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/Apstra/aos-ansible/issues/6/comments","events_url":"https://api.github.com/repos/Apstra/aos-ansible/issues/6/events","html_url":"https://github.com/Apstra/aos-ansible/issues/6","id":187724347,"number":6,"title":"consider updating modules to implement Ansible best practices","user":{"login":"privateip","id":414626,"avatar_url":"https://avatars.githubusercontent.com/u/414626?v=3","gravatar_id":"","url":"https://api.github.com/users/privateip","html_url":"https://github.com/privateip","followers_url":"https://api.github.com/users/privateip/followers","following_url":"https://api.github.com/users/privateip/following{/other_user}","gists_url":"https://api.github.com/users/privateip/gists{/gist_id}","starred_url":"https://api.github.com/users/privateip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/privateip/subscriptions","organizations_url":"https://api.github.com/users/privateip/orgs","repos_url":"https://api.github.com/users/privateip/repos","events_url":"https://api.github.com/users/privateip/events{/privacy}","received_events_url":"https://api.github.com/users/privateip/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-07T14:25:19Z","updated_at":"2016-11-07T15:01:19Z","closed_at":"2016-11-07T14:58:16Z","body":"Best practices are documented [here](http://docs.ansible.com/ansible/dev_guide/developing_modules.html)\r\n\r\n* rename modules to include ```.py``` extension and add ```__init__.py```\r\n* add RETURNS docstring\r\n* add Github handle to author\r\n* update version_added string to \"2.3\"\r\n* catch import errors and return helpful string\r\n* add ```__name__ == `__main__':``` check\r\n* swap docstring and imports\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Apstra/aos-ansible/issues/comments/258858554","html_url":"https://github.com/Apstra/aos-ansible/issues/6#issuecomment-258858554","issue_url":"https://api.github.com/repos/Apstra/aos-ansible/issues/6","id":258858554,"user":{"login":"jeremyschulman","id":2607956,"avatar_url":"https://avatars.githubusercontent.com/u/2607956?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremyschulman","html_url":"https://github.com/jeremyschulman","followers_url":"https://api.github.com/users/jeremyschulman/followers","following_url":"https://api.github.com/users/jeremyschulman/following{/other_user}","gists_url":"https://api.github.com/users/jeremyschulman/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremyschulman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremyschulman/subscriptions","organizations_url":"https://api.github.com/users/jeremyschulman/orgs","repos_url":"https://api.github.com/users/jeremyschulman/repos","events_url":"https://api.github.com/users/jeremyschulman/events{/privacy}","received_events_url":"https://api.github.com/users/jeremyschulman/received_events","type":"User","site_admin":false},"created_at":"2016-11-07T15:01:19Z","updated_at":"2016-11-07T15:01:19Z","body":"thank you very much for the issue, and PR!"}}
{"actor":{"display_login":"jeremyschulman"}}