{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/17563","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/17563/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/17563/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/17563/events","html_url":"https://github.com/ansible/ansible/issues/17563","id":176950077,"number":17563,"title":"ansible-galaxy  init test-role creates 'init' directory, ignores role name","user":{"login":"basictheprogram","id":6723257,"avatar_url":"https://avatars.githubusercontent.com/u/6723257?v=3","gravatar_id":"","url":"https://api.github.com/users/basictheprogram","html_url":"https://github.com/basictheprogram","followers_url":"https://api.github.com/users/basictheprogram/followers","following_url":"https://api.github.com/users/basictheprogram/following{/other_user}","gists_url":"https://api.github.com/users/basictheprogram/gists{/gist_id}","starred_url":"https://api.github.com/users/basictheprogram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basictheprogram/subscriptions","organizations_url":"https://api.github.com/users/basictheprogram/orgs","repos_url":"https://api.github.com/users/basictheprogram/repos","events_url":"https://api.github.com/users/basictheprogram/events{/privacy}","received_events_url":"https://api.github.com/users/basictheprogram/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ansible/ansible/labels/affects_2.2","name":"affects_2.2","color":"5319e7"},{"url":"https://api.github.com/repos/ansible/ansible/labels/bug_report","name":"bug_report","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"abadger","id":209242,"avatar_url":"https://avatars.githubusercontent.com/u/209242?v=3","gravatar_id":"","url":"https://api.github.com/users/abadger","html_url":"https://github.com/abadger","followers_url":"https://api.github.com/users/abadger/followers","following_url":"https://api.github.com/users/abadger/following{/other_user}","gists_url":"https://api.github.com/users/abadger/gists{/gist_id}","starred_url":"https://api.github.com/users/abadger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abadger/subscriptions","organizations_url":"https://api.github.com/users/abadger/orgs","repos_url":"https://api.github.com/users/abadger/repos","events_url":"https://api.github.com/users/abadger/events{/privacy}","received_events_url":"https://api.github.com/users/abadger/received_events","type":"User","site_admin":false},"assignees":[{"login":"abadger","id":209242,"avatar_url":"https://avatars.githubusercontent.com/u/209242?v=3","gravatar_id":"","url":"https://api.github.com/users/abadger","html_url":"https://github.com/abadger","followers_url":"https://api.github.com/users/abadger/followers","following_url":"https://api.github.com/users/abadger/following{/other_user}","gists_url":"https://api.github.com/users/abadger/gists{/gist_id}","starred_url":"https://api.github.com/users/abadger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abadger/subscriptions","organizations_url":"https://api.github.com/users/abadger/orgs","repos_url":"https://api.github.com/users/abadger/repos","events_url":"https://api.github.com/users/abadger/events{/privacy}","received_events_url":"https://api.github.com/users/abadger/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-09-14T16:08:04Z","updated_at":"2016-09-14T16:32:21Z","closed_at":null,"body":"##### ISSUE TYPE\r\n<!--- Pick one below and delete the rest: -->\r\n - Bug Report\r\n\r\n##### COMPONENT NAME\r\nansible-galaxy\r\n\r\n##### ANSIBLE VERSION\r\n<!--- Paste verbatim output from “ansible --version” between quotes below -->\r\n```\r\n$ ansible --version\r\nansible 2.2.0 (devel c654a4617a) last updated 2016/09/14 10:05:44 (GMT -500)\r\n  lib/ansible/modules/core: (detached HEAD ae6992bf8c) last updated 2016/09/13 10:06:39 (GMT -500)\r\n  lib/ansible/modules/extras: (detached HEAD afd0b23836) last updated 2016/09/13 10:06:39 (GMT -500)\r\n  config file =\r\n  configured module search path = Default w/o overrides\r\n```\r\n\r\n##### CONFIGURATION\r\nDefault configuration\r\n\r\n##### OS / ENVIRONMENT\r\nOS X 10.11.6\r\n\r\n##### SUMMARY\r\nansible-galaxy init rolename creates a directory called init, ignores rolename\r\n\r\n##### STEPS TO REPRODUCE\r\nansible-galaxy  init test-role\r\n- init was created successfully\r\n\r\n<!--- Paste example playbooks or commands between quotes below -->\r\n```\r\n$ ansible-galaxy -vvvv init test-role\r\nNo config file found; using defaults\r\nOpened /Users/tanner/.ansible_galaxy\r\nInitial connection to galaxy_server: https://galaxy.ansible.com\r\nBase API: https://galaxy.ansible.com/api/v1\r\nhttps://galaxy.ansible.com/api/v1/platforms/?page_size\r\n- init was created successfully\r\n```\r\n\r\n##### EXPECTED RESULTS\r\nA role created in a directory called test-role\r\n\r\n##### ACTUAL RESULTS\r\nA role created in a directory called init\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/247073108","html_url":"https://github.com/ansible/ansible/issues/17563#issuecomment-247073108","issue_url":"https://api.github.com/repos/ansible/ansible/issues/17563","id":247073108,"user":{"login":"bcoca","id":836171,"avatar_url":"https://avatars.githubusercontent.com/u/836171?v=3","gravatar_id":"","url":"https://api.github.com/users/bcoca","html_url":"https://github.com/bcoca","followers_url":"https://api.github.com/users/bcoca/followers","following_url":"https://api.github.com/users/bcoca/following{/other_user}","gists_url":"https://api.github.com/users/bcoca/gists{/gist_id}","starred_url":"https://api.github.com/users/bcoca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcoca/subscriptions","organizations_url":"https://api.github.com/users/bcoca/orgs","repos_url":"https://api.github.com/users/bcoca/repos","events_url":"https://api.github.com/users/bcoca/events{/privacy}","received_events_url":"https://api.github.com/users/bcoca/received_events","type":"User","site_admin":false},"created_at":"2016-09-14T16:32:21Z","updated_at":"2016-09-14T16:32:21Z","body":"this is probably an effect of the recent changes to make it py3 compatible"}}
{"actor":{"display_login":"bcoca"}}