{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/11737","labels_url":"https://api.github.com/repos/ansible/ansible/issues/11737/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/11737/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/11737/events","html_url":"https://github.com/ansible/ansible/issues/11737","id":97280815,"number":11737,"title":"v2 breakage: --list-tasks doesn't list tasks inside roles","user":{"login":"amenonsen","id":23628,"avatar_url":"https://avatars.githubusercontent.com/u/23628?v=3","gravatar_id":"","url":"https://api.github.com/users/amenonsen","html_url":"https://github.com/amenonsen","followers_url":"https://api.github.com/users/amenonsen/followers","following_url":"https://api.github.com/users/amenonsen/following{/other_user}","gists_url":"https://api.github.com/users/amenonsen/gists{/gist_id}","starred_url":"https://api.github.com/users/amenonsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amenonsen/subscriptions","organizations_url":"https://api.github.com/users/amenonsen/orgs","repos_url":"https://api.github.com/users/amenonsen/repos","events_url":"https://api.github.com/users/amenonsen/events{/privacy}","received_events_url":"https://api.github.com/users/amenonsen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-26T03:23:56Z","updated_at":"2015-07-26T03:29:14Z","closed_at":null,"body":"Issue type: Bug report\r\nAnsible version: devel@5be384ba\r\nAnsible configuration: NA\r\nEnvironment: NA\r\nSummary:\r\n\r\nWhile investigating #6216 I found that ``--list-tasks`` in devel doesn't list tasks inside roles.\r\n\r\nSteps to reproduce:\r\n\r\nRun\r\n\r\n    ansible-playbook x.yml --list-tasks\r\n\r\non a playbook that includes some roles.\r\n\r\nExpected results:\r\n\r\nTasks inside roles are listed.\r\n\r\nActual results:\r\n\r\nTasks inside roles aren't listed, only pre_tasks/post_tasks are."},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/124936797","html_url":"https://github.com/ansible/ansible/issues/11737#issuecomment-124936797","issue_url":"https://api.github.com/repos/ansible/ansible/issues/11737","id":124936797,"user":{"login":"amenonsen","id":23628,"avatar_url":"https://avatars.githubusercontent.com/u/23628?v=3","gravatar_id":"","url":"https://api.github.com/users/amenonsen","html_url":"https://github.com/amenonsen","followers_url":"https://api.github.com/users/amenonsen/followers","following_url":"https://api.github.com/users/amenonsen/following{/other_user}","gists_url":"https://api.github.com/users/amenonsen/gists{/gist_id}","starred_url":"https://api.github.com/users/amenonsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amenonsen/subscriptions","organizations_url":"https://api.github.com/users/amenonsen/orgs","repos_url":"https://api.github.com/users/amenonsen/repos","events_url":"https://api.github.com/users/amenonsen/events{/privacy}","received_events_url":"https://api.github.com/users/amenonsen/received_events","type":"User","site_admin":false},"created_at":"2015-07-26T03:29:14Z","updated_at":"2015-07-26T03:29:14Z","body":"Also, ``--list-tags`` seems to do much the same thing as ``--list-tasks`` (i.e. it doesn't list tags; but the task names aren't wrapped in ``[]``)."}}