{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/12862","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/12862/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/12862/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/12862/events","html_url":"https://github.com/ansible/ansible/issues/12862","id":112737980,"node_id":"MDU6SXNzdWUxMTI3Mzc5ODA=","number":12862,"title":"Playbooks In Subdirectories","user":{"login":"inadarei","id":30158,"node_id":"MDQ6VXNlcjMwMTU4","avatar_url":"https://avatars1.githubusercontent.com/u/30158?v=4","gravatar_id":"","url":"https://api.github.com/users/inadarei","html_url":"https://github.com/inadarei","followers_url":"https://api.github.com/users/inadarei/followers","following_url":"https://api.github.com/users/inadarei/following{/other_user}","gists_url":"https://api.github.com/users/inadarei/gists{/gist_id}","starred_url":"https://api.github.com/users/inadarei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inadarei/subscriptions","organizations_url":"https://api.github.com/users/inadarei/orgs","repos_url":"https://api.github.com/users/inadarei/repos","events_url":"https://api.github.com/users/inadarei/events{/privacy}","received_events_url":"https://api.github.com/users/inadarei/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":20,"created_at":"2015-10-22T06:13:10Z","updated_at":"2018-11-21T08:36:31Z","closed_at":"2015-10-22T14:20:55Z","author_association":"NONE","body":"The recommended directory layout from the documentation (http://docs.ansible.com/ansible/playbooks_best_practices.html#directory-layout) indicates putting all playbooks at the top level, alongside inventory files. This can get really messy in a large project.\n\nWe put all configuration in roles. Playbooks are basically mappings of a set of roles to a set of inventory. I believe that is best-practice to make roles reusable.\n\nIn earlier Ansible versions (~ year ago?) it was possible to put playbooks in a subfolder and run them from the top folder (where inventory files are). Somewhere along the line that became impossible, because playbooks in a subfolder cannot see roles and group var files, in such case.\n\nCan we please get support for playbooks in subfolder? Why is that not a recommended best-practice in the documentation?\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/440580234","html_url":"https://github.com/ansible/ansible/issues/12862#issuecomment-440580234","issue_url":"https://api.github.com/repos/ansible/ansible/issues/12862","id":440580234,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDU4MDIzNA==","user":{"login":"cfasnacht","id":5371784,"node_id":"MDQ6VXNlcjUzNzE3ODQ=","avatar_url":"https://avatars2.githubusercontent.com/u/5371784?v=4","gravatar_id":"","url":"https://api.github.com/users/cfasnacht","html_url":"https://github.com/cfasnacht","followers_url":"https://api.github.com/users/cfasnacht/followers","following_url":"https://api.github.com/users/cfasnacht/following{/other_user}","gists_url":"https://api.github.com/users/cfasnacht/gists{/gist_id}","starred_url":"https://api.github.com/users/cfasnacht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfasnacht/subscriptions","organizations_url":"https://api.github.com/users/cfasnacht/orgs","repos_url":"https://api.github.com/users/cfasnacht/repos","events_url":"https://api.github.com/users/cfasnacht/events{/privacy}","received_events_url":"https://api.github.com/users/cfasnacht/received_events","type":"User","site_admin":false},"created_at":"2018-11-21T08:36:31Z","updated_at":"2018-11-21T08:36:31Z","author_association":"NONE","body":"This is documented like this:  \"However, if the comment is inline with regular values, only the semicolon is allowed to introduce the comment. For instance:\"\r\nhttps://docs.ansible.com/ansible/2.7/reference_appendices/config.html\r\nBut in my opinion this is quite a pitfall!"}}
{"actor":{"display_login":"cfasnacht"}}