{"action":"closed","number":3887,"pull_request":{"url":"https://api.github.com/repos/ansible/awx/pulls/3887","id":278437765,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjc4NDM3NzY1","html_url":"https://github.com/ansible/awx/pull/3887","diff_url":"https://github.com/ansible/awx/pull/3887.diff","patch_url":"https://github.com/ansible/awx/pull/3887.patch","issue_url":"https://api.github.com/repos/ansible/awx/issues/3887","number":3887,"state":"closed","locked":false,"title":"Add the ability of installing roles by reading several requirements.yml files placed on subdirectories inside of roles/","user":{"login":"gabops","id":30385874,"node_id":"MDQ6VXNlcjMwMzg1ODc0","avatar_url":"https://avatars0.githubusercontent.com/u/30385874?v=4","gravatar_id":"","url":"https://api.github.com/users/gabops","html_url":"https://github.com/gabops","followers_url":"https://api.github.com/users/gabops/followers","following_url":"https://api.github.com/users/gabops/following{/other_user}","gists_url":"https://api.github.com/users/gabops/gists{/gist_id}","starred_url":"https://api.github.com/users/gabops/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabops/subscriptions","organizations_url":"https://api.github.com/users/gabops/orgs","repos_url":"https://api.github.com/users/gabops/repos","events_url":"https://api.github.com/users/gabops/events{/privacy}","received_events_url":"https://api.github.com/users/gabops/received_events","type":"User","site_admin":false},"body":"##### SUMMARY\r\nAt the moment AWX only supports installing roles if those are placed in a requirements.yml inside of roles/ (roles/requirements.yml). This change gives the flexibility to detect and read one or several requirements.yml files that can be placed in any subdirectory under the parent directory \"roles/\"\r\n\r\nThis can be useful when you want to split the roles, for example, by origin in different requirements.yml files in your Ansible repo. Personally I find this way much cleaner that mixing everything in just one roles/requirements.yml.\r\n\r\n##### ISSUE TYPE\r\n - Feature Pull Request\r\n\r\n##### COMPONENT NAME\r\n - Installer\r\n\r\n##### AWX VERSION\r\nawx: 4.0.0\r\n\r\n##### ADDITIONAL INFORMATION\r\nThis is compatible with the expected functionality this process has right now, however, it allows you to have a configuration on your repo like for example:\r\n```\r\nroles/\r\n |_company/requirements.yml\r\n |_galaxy/requirements.yml\r\n |_whatever/requirements.yml\r\n```\r\nOr just:\r\n```\r\nroles/requirements.yml\r\n```\r\nOr even:\r\n```\r\nroles/\r\n |_directory1\r\n    |_subdirectory1/requirements.yml\r\n```\r\nOr all the previous combined.\r\n\r\nWhen updating your project from the web interface as usual, all the roles will be pulled by \"ansible-galaxy install\" on their respective directory where the requirement file is.","created_at":"2019-05-13T21:14:44Z","updated_at":"2019-10-29T18:29:22Z","closed_at":"2019-10-29T18:29:22Z","merged_at":null,"merge_commit_sha":"1491ca88cb560d19857034c05ba3efec94a5ef9f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":687979964,"node_id":"MDU6TGFiZWw2ODc5Nzk5NjQ=","url":"https://api.github.com/repos/ansible/awx/labels/component:installer","name":"component:installer","color":"d4c5f9","default":false},{"id":607283750,"node_id":"MDU6TGFiZWw2MDcyODM3NTA=","url":"https://api.github.com/repos/ansible/awx/labels/type:enhancement","name":"type:enhancement","color":"84b6eb","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/ansible/awx/pulls/3887/commits","review_comments_url":"https://api.github.com/repos/ansible/awx/pulls/3887/comments","review_comment_url":"https://api.github.com/repos/ansible/awx/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ansible/awx/issues/3887/comments","statuses_url":"https://api.github.com/repos/ansible/awx/statuses/dc5b32a1b05f47578624216a10eae204f36ee5cb","head":{"label":"gabops:devel","ref":"devel","sha":"dc5b32a1b05f47578624216a10eae204f36ee5cb","user":{"login":"gabops","id":30385874,"node_id":"MDQ6VXNlcjMwMzg1ODc0","avatar_url":"https://avatars0.githubusercontent.com/u/30385874?v=4","gravatar_id":"","url":"https://api.github.com/users/gabops","html_url":"https://github.com/gabops","followers_url":"https://api.github.com/users/gabops/followers","following_url":"https://api.github.com/users/gabops/following{/other_user}","gists_url":"https://api.github.com/users/gabops/gists{/gist_id}","starred_url":"https://api.github.com/users/gabops/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabops/subscriptions","organizations_url":"https://api.github.com/users/gabops/orgs","repos_url":"https://api.github.com/users/gabops/repos","events_url":"https://api.github.com/users/gabops/events{/privacy}","received_events_url":"https://api.github.com/users/gabops/received_events","type":"User","site_admin":false},"repo":{"id":186462121,"node_id":"MDEwOlJlcG9zaXRvcnkxODY0NjIxMjE=","name":"awx","full_name":"gabops/awx","private":false,"owner":{"login":"gabops","id":30385874,"node_id":"MDQ6VXNlcjMwMzg1ODc0","avatar_url":"https://avatars0.githubusercontent.com/u/30385874?v=4","gravatar_id":"","url":"https://api.github.com/users/gabops","html_url":"https://github.com/gabops","followers_url":"https://api.github.com/users/gabops/followers","following_url":"https://api.github.com/users/gabops/following{/other_user}","gists_url":"https://api.github.com/users/gabops/gists{/gist_id}","starred_url":"https://api.github.com/users/gabops/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabops/subscriptions","organizations_url":"https://api.github.com/users/gabops/orgs","repos_url":"https://api.github.com/users/gabops/repos","events_url":"https://api.github.com/users/gabops/events{/privacy}","received_events_url":"https://api.github.com/users/gabops/received_events","type":"User","site_admin":false},"html_url":"https://github.com/gabops/awx","description":"AWX Project","fork":true,"url":"https://api.github.com/repos/gabops/awx","forks_url":"https://api.github.com/repos/gabops/awx/forks","keys_url":"https://api.github.com/repos/gabops/awx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gabops/awx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gabops/awx/teams","hooks_url":"https://api.github.com/repos/gabops/awx/hooks","issue_events_url":"https://api.github.com/repos/gabops/awx/issues/events{/number}","events_url":"https://api.github.com/repos/gabops/awx/events","assignees_url":"https://api.github.com/repos/gabops/awx/assignees{/user}","branches_url":"https://api.github.com/repos/gabops/awx/branches{/branch}","tags_url":"https://api.github.com/repos/gabops/awx/tags","blobs_url":"https://api.github.com/repos/gabops/awx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gabops/awx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gabops/awx/git/refs{/sha}","trees_url":"https://api.github.com/repos/gabops/awx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gabops/awx/statuses/{sha}","languages_url":"https://api.github.com/repos/gabops/awx/languages","stargazers_url":"https://api.github.com/repos/gabops/awx/stargazers","contributors_url":"https://api.github.com/repos/gabops/awx/contributors","subscribers_url":"https://api.github.com/repos/gabops/awx/subscribers","subscription_url":"https://api.github.com/repos/gabops/awx/subscription","commits_url":"https://api.github.com/repos/gabops/awx/commits{/sha}","git_commits_url":"https://api.github.com/repos/gabops/awx/git/commits{/sha}","comments_url":"https://api.github.com/repos/gabops/awx/comments{/number}","issue_comment_url":"https://api.github.com/repos/gabops/awx/issues/comments{/number}","contents_url":"https://api.github.com/repos/gabops/awx/contents/{+path}","compare_url":"https://api.github.com/repos/gabops/awx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gabops/awx/merges","archive_url":"https://api.github.com/repos/gabops/awx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gabops/awx/downloads","issues_url":"https://api.github.com/repos/gabops/awx/issues{/number}","pulls_url":"https://api.github.com/repos/gabops/awx/pulls{/number}","milestones_url":"https://api.github.com/repos/gabops/awx/milestones{/number}","notifications_url":"https://api.github.com/repos/gabops/awx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gabops/awx/labels{/name}","releases_url":"https://api.github.com/repos/gabops/awx/releases{/id}","deployments_url":"https://api.github.com/repos/gabops/awx/deployments","created_at":"2019-05-13T17:00:32Z","updated_at":"2019-05-13T18:37:56Z","pushed_at":"2019-05-13T18:37:53Z","git_url":"git://github.com/gabops/awx.git","ssh_url":"git@github.com:gabops/awx.git","clone_url":"https://github.com/gabops/awx.git","svn_url":"https://github.com/gabops/awx","homepage":"","size":214259,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"devel"}},"base":{"label":"ansible:devel","ref":"devel","sha":"6bc18566589302d07d6e4ead5d75b8dcb73c1227","user":{"login":"ansible","id":1507452,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MDc0NTI=","avatar_url":"https://avatars2.githubusercontent.com/u/1507452?v=4","gravatar_id":"","url":"https://api.github.com/users/ansible","html_url":"https://github.com/ansible","followers_url":"https://api.github.com/users/ansible/followers","following_url":"https://api.github.com/users/ansible/following{/other_user}","gists_url":"https://api.github.com/users/ansible/gists{/gist_id}","starred_url":"https://api.github.com/users/ansible/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansible/subscriptions","organizations_url":"https://api.github.com/users/ansible/orgs","repos_url":"https://api.github.com/users/ansible/repos","events_url":"https://api.github.com/users/ansible/events{/privacy}","received_events_url":"https://api.github.com/users/ansible/received_events","type":"Organization","site_admin":false},"repo":{"id":91594105,"node_id":"MDEwOlJlcG9zaXRvcnk5MTU5NDEwNQ==","name":"awx","full_name":"ansible/awx","private":false,"owner":{"login":"ansible","id":1507452,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MDc0NTI=","avatar_url":"https://avatars2.githubusercontent.com/u/1507452?v=4","gravatar_id":"","url":"https://api.github.com/users/ansible","html_url":"https://github.com/ansible","followers_url":"https://api.github.com/users/ansible/followers","following_url":"https://api.github.com/users/ansible/following{/other_user}","gists_url":"https://api.github.com/users/ansible/gists{/gist_id}","starred_url":"https://api.github.com/users/ansible/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansible/subscriptions","organizations_url":"https://api.github.com/users/ansible/orgs","repos_url":"https://api.github.com/users/ansible/repos","events_url":"https://api.github.com/users/ansible/events{/privacy}","received_events_url":"https://api.github.com/users/ansible/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ansible/awx","description":"AWX Project","fork":false,"url":"https://api.github.com/repos/ansible/awx","forks_url":"https://api.github.com/repos/ansible/awx/forks","keys_url":"https://api.github.com/repos/ansible/awx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ansible/awx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ansible/awx/teams","hooks_url":"https://api.github.com/repos/ansible/awx/hooks","issue_events_url":"https://api.github.com/repos/ansible/awx/issues/events{/number}","events_url":"https://api.github.com/repos/ansible/awx/events","assignees_url":"https://api.github.com/repos/ansible/awx/assignees{/user}","branches_url":"https://api.github.com/repos/ansible/awx/branches{/branch}","tags_url":"https://api.github.com/repos/ansible/awx/tags","blobs_url":"https://api.github.com/repos/ansible/awx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ansible/awx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ansible/awx/git/refs{/sha}","trees_url":"https://api.github.com/repos/ansible/awx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ansible/awx/statuses/{sha}","languages_url":"https://api.github.com/repos/ansible/awx/languages","stargazers_url":"https://api.github.com/repos/ansible/awx/stargazers","contributors_url":"https://api.github.com/repos/ansible/awx/contributors","subscribers_url":"https://api.github.com/repos/ansible/awx/subscribers","subscription_url":"https://api.github.com/repos/ansible/awx/subscription","commits_url":"https://api.github.com/repos/ansible/awx/commits{/sha}","git_commits_url":"https://api.github.com/repos/ansible/awx/git/commits{/sha}","comments_url":"https://api.github.com/repos/ansible/awx/comments{/number}","issue_comment_url":"https://api.github.com/repos/ansible/awx/issues/comments{/number}","contents_url":"https://api.github.com/repos/ansible/awx/contents/{+path}","compare_url":"https://api.github.com/repos/ansible/awx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ansible/awx/merges","archive_url":"https://api.github.com/repos/ansible/awx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ansible/awx/downloads","issues_url":"https://api.github.com/repos/ansible/awx/issues{/number}","pulls_url":"https://api.github.com/repos/ansible/awx/pulls{/number}","milestones_url":"https://api.github.com/repos/ansible/awx/milestones{/number}","notifications_url":"https://api.github.com/repos/ansible/awx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ansible/awx/labels{/name}","releases_url":"https://api.github.com/repos/ansible/awx/releases{/id}","deployments_url":"https://api.github.com/repos/ansible/awx/deployments","created_at":"2017-05-17T15:50:14Z","updated_at":"2019-10-29T18:19:17Z","pushed_at":"2019-10-29T18:20:59Z","git_url":"git://github.com/ansible/awx.git","ssh_url":"git@github.com:ansible/awx.git","clone_url":"https://github.com/ansible/awx.git","svn_url":"https://github.com/ansible/awx","homepage":"","size":221110,"stargazers_count":6766,"watchers_count":6766,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1614,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":828,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":1614,"open_issues":828,"watchers":6766,"default_branch":"devel"}},"_links":{"self":{"href":"https://api.github.com/repos/ansible/awx/pulls/3887"},"html":{"href":"https://github.com/ansible/awx/pull/3887"},"issue":{"href":"https://api.github.com/repos/ansible/awx/issues/3887"},"comments":{"href":"https://api.github.com/repos/ansible/awx/issues/3887/comments"},"review_comments":{"href":"https://api.github.com/repos/ansible/awx/pulls/3887/comments"},"review_comment":{"href":"https://api.github.com/repos/ansible/awx/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ansible/awx/pulls/3887/commits"},"statuses":{"href":"https://api.github.com/repos/ansible/awx/statuses/dc5b32a1b05f47578624216a10eae204f36ee5cb"}},"author_association":"NONE","merged":false,"mergeable":false,"rebaseable":false,"mergeable_state":"dirty","merged_by":null,"comments":6,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":15,"deletions":9,"changed_files":1}}
{"actor":{"display_login":"ryanpetrello"}}