{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/13472","labels_url":"https://api.github.com/repos/ansible/ansible/issues/13472/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/13472/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/13472/events","html_url":"https://github.com/ansible/ansible/issues/13472","id":121038604,"number":13472,"title":"[2.0-rc2] ansible-playbook: role with relative path don't work","user":{"login":"HanXHX","id":5664215,"avatar_url":"https://avatars.githubusercontent.com/u/5664215?v=3","gravatar_id":"","url":"https://api.github.com/users/HanXHX","html_url":"https://github.com/HanXHX","followers_url":"https://api.github.com/users/HanXHX/followers","following_url":"https://api.github.com/users/HanXHX/following{/other_user}","gists_url":"https://api.github.com/users/HanXHX/gists{/gist_id}","starred_url":"https://api.github.com/users/HanXHX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HanXHX/subscriptions","organizations_url":"https://api.github.com/users/HanXHX/orgs","repos_url":"https://api.github.com/users/HanXHX/repos","events_url":"https://api.github.com/users/HanXHX/events{/privacy}","received_events_url":"https://api.github.com/users/HanXHX/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ansible/ansible/labels/bug_report","name":"bug_report","color":"fbca04"},{"url":"https://api.github.com/repos/ansible/ansible/labels/needs_info","name":"needs_info","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/ansible/ansible/milestones/5","html_url":"https://github.com/ansible/ansible/milestones/v2","labels_url":"https://api.github.com/repos/ansible/ansible/milestones/5/labels","id":975800,"number":5,"title":"v2","description":null,"creator":{"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},"open_issues":24,"closed_issues":593,"state":"open","created_at":"2015-02-11T19:43:06Z","updated_at":"2015-12-09T16:29:20Z","due_on":null,"closed_at":null},"comments":13,"created_at":"2015-12-08T16:02:24Z","updated_at":"2015-12-09T18:58:24Z","closed_at":null,"body":"Hi,\r\n\r\n**Type**: Bug Report\r\n**Ansible Version**: 2.0-rc2\r\n**Environment**: Xubuntu 14.04 LTS\r\n\r\n**Summary**:\r\n\r\nWith Ansible 1.*, we can use relative path for roles in a playbook. I use it for testing my roles with Vagrant. \r\n\r\nMy playbook looks like\r\n\r\n```\r\n- hosts: all\r\n  roles:\r\n    - ../../\r\n```\r\n\r\n**Expected Results**: Run my role (like ansible 1.\\*)\r\n\r\n**Steps To Reproduce**: You can test with one of my roles (vagrant up): https://github.com/HanXHX/ansible-nginx\r\n\r\n**Actual Results**:\r\n\r\n```\r\n$ ansible-playbook --private-key=/home/xxxxxx/.vagrant.d/insecure_private_key --user=vagrant --limit='debian-jessie' --inventory-file=/home/xxxxxxx/xxxxxxxxx/.vagrant/provisioners/ansible/inventory --sudo -vv tests/test.yml\r\nUsing /etc/ansible/ansible.cfg as config file\r\n1 plays in tests/test.yml\r\n\r\nPLAY ***************************************************************************\r\n\r\nTASK [setup] *******************************************************************\r\nok: [debian-jessie]\r\n\r\nPLAY RECAP *********************************************************************\r\ndebian-jessie              : ok=1    changed=0    unreachable=0    failed=0 \r\n```\r\n\r\nCheers,\r\n\r\nEmilien\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/163357499","html_url":"https://github.com/ansible/ansible/issues/13472#issuecomment-163357499","issue_url":"https://api.github.com/repos/ansible/ansible/issues/13472","id":163357499,"user":{"login":"jimi-c","id":26403,"avatar_url":"https://avatars.githubusercontent.com/u/26403?v=3","gravatar_id":"","url":"https://api.github.com/users/jimi-c","html_url":"https://github.com/jimi-c","followers_url":"https://api.github.com/users/jimi-c/followers","following_url":"https://api.github.com/users/jimi-c/following{/other_user}","gists_url":"https://api.github.com/users/jimi-c/gists{/gist_id}","starred_url":"https://api.github.com/users/jimi-c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimi-c/subscriptions","organizations_url":"https://api.github.com/users/jimi-c/orgs","repos_url":"https://api.github.com/users/jimi-c/repos","events_url":"https://api.github.com/users/jimi-c/events{/privacy}","received_events_url":"https://api.github.com/users/jimi-c/received_events","type":"User","site_admin":false},"created_at":"2015-12-09T18:58:24Z","updated_at":"2015-12-09T18:58:24Z","body":"Yes, it seems like your role is not being loaded properly. Can you check the permissions on the files for that role?"}}