{"action":"opened","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/12609","labels_url":"https://api.github.com/repos/ansible/ansible/issues/12609/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/12609/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/12609/events","html_url":"https://github.com/ansible/ansible/issues/12609","id":109491324,"number":12609,"title":"Include statement uses wrong path when not included from tasks/main.yml","user":{"login":"llernestal","id":7022638,"avatar_url":"https://avatars.githubusercontent.com/u/7022638?v=3","gravatar_id":"","url":"https://api.github.com/users/llernestal","html_url":"https://github.com/llernestal","followers_url":"https://api.github.com/users/llernestal/followers","following_url":"https://api.github.com/users/llernestal/following{/other_user}","gists_url":"https://api.github.com/users/llernestal/gists{/gist_id}","starred_url":"https://api.github.com/users/llernestal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llernestal/subscriptions","organizations_url":"https://api.github.com/users/llernestal/orgs","repos_url":"https://api.github.com/users/llernestal/repos","events_url":"https://api.github.com/users/llernestal/events{/privacy}","received_events_url":"https://api.github.com/users/llernestal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-02T13:32:09Z","updated_at":"2015-10-02T13:32:09Z","closed_at":null,"body":"**To reproduce:**\r\nPlaybook\r\n\r\n```\r\nhosts: 127.0.0.1\r\nconnection: local\r\nroles:\r\n  - test_role\r\n```\r\n\r\ntest_role/tasks/main.yml\r\n```\r\n---\r\n\r\n- include: test1.yml\r\n```\r\n\r\ntest_role/tasks/test1.yml\r\n```\r\n---\r\n\r\n- include: test2.yml\r\n```\r\n\r\ntest_role/tasks/test2.yml\r\n```\r\n---\r\n\r\n- name: output\r\n  debug: msg=\"Hello world!\"\r\n```\r\n\r\nThis fails with message:\r\n```\r\nTASK [test_role : include] *********************************************************\r\nincluded: tasks/test2.yml for localhost\r\nfatal: [localhost]: FAILED! => {\"failed\": true, \"reason\": \"ERROR! the file_name '/tasks/test2.yml' does not exist, or is not readable\"}\r\n```"}}