{"action":"opened","number":4,"pull_request":{"url":"https://api.github.com/repos/galaxyproject/ansible-galaxy/pulls/4","id":31179860,"html_url":"https://github.com/galaxyproject/ansible-galaxy/pull/4","diff_url":"https://github.com/galaxyproject/ansible-galaxy/pull/4.diff","patch_url":"https://github.com/galaxyproject/ansible-galaxy/pull/4.patch","issue_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy/issues/4","number":4,"state":"open","locked":false,"title":"Add allow_duplicates to role metadata","user":{"login":"simonalpha","id":1177167,"avatar_url":"https://avatars.githubusercontent.com/u/1177167?v=3","gravatar_id":"","url":"https://api.github.com/users/simonalpha","html_url":"https://github.com/simonalpha","followers_url":"https://api.github.com/users/simonalpha/followers","following_url":"https://api.github.com/users/simonalpha/following{/other_user}","gists_url":"https://api.github.com/users/simonalpha/gists{/gist_id}","starred_url":"https://api.github.com/users/simonalpha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonalpha/subscriptions","organizations_url":"https://api.github.com/users/simonalpha/orgs","repos_url":"https://api.github.com/users/simonalpha/repos","events_url":"https://api.github.com/users/simonalpha/events{/privacy}","received_events_url":"https://api.github.com/users/simonalpha/received_events","type":"User","site_admin":false},"body":"By default, Ansible will only run a role once, no matter the number of times it occurs as a dependency. This makes this role difficult to use as a building block in creating more complex roles, for instance packaging the example in the readme as a self-contained role (separating mutable config and files from code and the like.\r\n\r\nBy setting the allow_duplicates option, as detailed in the [Ansible docs](http://docs.ansible.com/playbooks_roles.html#role-dependencies), the composibility of the role is increased.","created_at":"2015-03-14T07:37:28Z","updated_at":"2015-03-14T07:37:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5a07432273350205f1eca86dc347b367ca0da47b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy/pulls/4/commits","review_comments_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy/pulls/4/comments","review_comment_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy/issues/4/comments","statuses_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy/statuses/94526aee4588bad242e61f07e81e663021dfd198","head":{"label":"simonalpha:master","ref":"master","sha":"94526aee4588bad242e61f07e81e663021dfd198","user":{"login":"simonalpha","id":1177167,"avatar_url":"https://avatars.githubusercontent.com/u/1177167?v=3","gravatar_id":"","url":"https://api.github.com/users/simonalpha","html_url":"https://github.com/simonalpha","followers_url":"https://api.github.com/users/simonalpha/followers","following_url":"https://api.github.com/users/simonalpha/following{/other_user}","gists_url":"https://api.github.com/users/simonalpha/gists{/gist_id}","starred_url":"https://api.github.com/users/simonalpha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonalpha/subscriptions","organizations_url":"https://api.github.com/users/simonalpha/orgs","repos_url":"https://api.github.com/users/simonalpha/repos","events_url":"https://api.github.com/users/simonalpha/events{/privacy}","received_events_url":"https://api.github.com/users/simonalpha/received_events","type":"User","site_admin":false},"repo":{"id":32199048,"name":"ansible-galaxy","full_name":"simonalpha/ansible-galaxy","owner":{"login":"simonalpha","id":1177167,"avatar_url":"https://avatars.githubusercontent.com/u/1177167?v=3","gravatar_id":"","url":"https://api.github.com/users/simonalpha","html_url":"https://github.com/simonalpha","followers_url":"https://api.github.com/users/simonalpha/followers","following_url":"https://api.github.com/users/simonalpha/following{/other_user}","gists_url":"https://api.github.com/users/simonalpha/gists{/gist_id}","starred_url":"https://api.github.com/users/simonalpha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonalpha/subscriptions","organizations_url":"https://api.github.com/users/simonalpha/orgs","repos_url":"https://api.github.com/users/simonalpha/repos","events_url":"https://api.github.com/users/simonalpha/events{/privacy}","received_events_url":"https://api.github.com/users/simonalpha/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/simonalpha/ansible-galaxy","description":"An Ansible role for managing a Galaxy (http://galaxyproject.org) server.","fork":true,"url":"https://api.github.com/repos/simonalpha/ansible-galaxy","forks_url":"https://api.github.com/repos/simonalpha/ansible-galaxy/forks","keys_url":"https://api.github.com/repos/simonalpha/ansible-galaxy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/simonalpha/ansible-galaxy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/simonalpha/ansible-galaxy/teams","hooks_url":"https://api.github.com/repos/simonalpha/ansible-galaxy/hooks","issue_events_url":"https://api.github.com/repos/simonalpha/ansible-galaxy/issues/events{/number}","events_url":"https://api.github.com/repos/simonalpha/ansible-galaxy/events","assignees_url":"https://api.github.com/repos/simonalpha/ansible-galaxy/assignees{/user}","branches_url":"https://api.github.com/repos/simonalpha/ansible-galaxy/branches{/branch}","tags_url":"https://api.github.com/repos/simonalpha/ansible-galaxy/tags","blobs_url":"https://api.github.com/repos/simonalpha/ansible-galaxy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/simonalpha/ansible-galaxy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/simonalpha/ansible-galaxy/git/refs{/sha}","trees_url":"https://api.github.com/repos/simonalpha/ansible-galaxy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/simonalpha/ansible-galaxy/statuses/{sha}","languages_url":"https://api.github.com/repos/simonalpha/ansible-galaxy/languages","stargazers_url":"https://api.github.com/repos/simonalpha/ansible-galaxy/stargazers","contributors_url":"https://api.github.com/repos/simonalpha/ansible-galaxy/contributors","subscribers_url":"https://api.github.com/repos/simonalpha/ansible-galaxy/subscribers","subscription_url":"https://api.github.com/repos/simonalpha/ansible-galaxy/subscription","commits_url":"https://api.github.com/repos/simonalpha/ansible-galaxy/commits{/sha}","git_commits_url":"https://api.github.com/repos/simonalpha/ansible-galaxy/git/commits{/sha}","comments_url":"https://api.github.com/repos/simonalpha/ansible-galaxy/comments{/number}","issue_comment_url":"https://api.github.com/repos/simonalpha/ansible-galaxy/issues/comments{/number}","contents_url":"https://api.github.com/repos/simonalpha/ansible-galaxy/contents/{+path}","compare_url":"https://api.github.com/repos/simonalpha/ansible-galaxy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/simonalpha/ansible-galaxy/merges","archive_url":"https://api.github.com/repos/simonalpha/ansible-galaxy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/simonalpha/ansible-galaxy/downloads","issues_url":"https://api.github.com/repos/simonalpha/ansible-galaxy/issues{/number}","pulls_url":"https://api.github.com/repos/simonalpha/ansible-galaxy/pulls{/number}","milestones_url":"https://api.github.com/repos/simonalpha/ansible-galaxy/milestones{/number}","notifications_url":"https://api.github.com/repos/simonalpha/ansible-galaxy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/simonalpha/ansible-galaxy/labels{/name}","releases_url":"https://api.github.com/repos/simonalpha/ansible-galaxy/releases{/id}","created_at":"2015-03-14T06:25:51Z","updated_at":"2015-03-14T06:33:01Z","pushed_at":"2015-03-14T06:33:01Z","git_url":"git://github.com/simonalpha/ansible-galaxy.git","ssh_url":"git@github.com:simonalpha/ansible-galaxy.git","clone_url":"https://github.com/simonalpha/ansible-galaxy.git","svn_url":"https://github.com/simonalpha/ansible-galaxy","homepage":"https://galaxy.ansible.com/list#/roles/1615","size":209,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"galaxyproject:master","ref":"master","sha":"91a40eef3e778d9959ab3513c4af852a97f03a6a","user":{"login":"galaxyproject","id":7937847,"avatar_url":"https://avatars.githubusercontent.com/u/7937847?v=3","gravatar_id":"","url":"https://api.github.com/users/galaxyproject","html_url":"https://github.com/galaxyproject","followers_url":"https://api.github.com/users/galaxyproject/followers","following_url":"https://api.github.com/users/galaxyproject/following{/other_user}","gists_url":"https://api.github.com/users/galaxyproject/gists{/gist_id}","starred_url":"https://api.github.com/users/galaxyproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/galaxyproject/subscriptions","organizations_url":"https://api.github.com/users/galaxyproject/orgs","repos_url":"https://api.github.com/users/galaxyproject/repos","events_url":"https://api.github.com/users/galaxyproject/events{/privacy}","received_events_url":"https://api.github.com/users/galaxyproject/received_events","type":"Organization","site_admin":false},"repo":{"id":23633237,"name":"ansible-galaxy","full_name":"galaxyproject/ansible-galaxy","owner":{"login":"galaxyproject","id":7937847,"avatar_url":"https://avatars.githubusercontent.com/u/7937847?v=3","gravatar_id":"","url":"https://api.github.com/users/galaxyproject","html_url":"https://github.com/galaxyproject","followers_url":"https://api.github.com/users/galaxyproject/followers","following_url":"https://api.github.com/users/galaxyproject/following{/other_user}","gists_url":"https://api.github.com/users/galaxyproject/gists{/gist_id}","starred_url":"https://api.github.com/users/galaxyproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/galaxyproject/subscriptions","organizations_url":"https://api.github.com/users/galaxyproject/orgs","repos_url":"https://api.github.com/users/galaxyproject/repos","events_url":"https://api.github.com/users/galaxyproject/events{/privacy}","received_events_url":"https://api.github.com/users/galaxyproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/galaxyproject/ansible-galaxy","description":"An Ansible role for managing a Galaxy (http://galaxyproject.org) server.","fork":false,"url":"https://api.github.com/repos/galaxyproject/ansible-galaxy","forks_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy/forks","keys_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy/teams","hooks_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy/hooks","issue_events_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy/issues/events{/number}","events_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy/events","assignees_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy/assignees{/user}","branches_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy/branches{/branch}","tags_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy/tags","blobs_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy/git/refs{/sha}","trees_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy/statuses/{sha}","languages_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy/languages","stargazers_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy/stargazers","contributors_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy/contributors","subscribers_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy/subscribers","subscription_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy/subscription","commits_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy/commits{/sha}","git_commits_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy/git/commits{/sha}","comments_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy/comments{/number}","issue_comment_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy/issues/comments{/number}","contents_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy/contents/{+path}","compare_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy/merges","archive_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy/downloads","issues_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy/issues{/number}","pulls_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy/pulls{/number}","milestones_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy/milestones{/number}","notifications_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy/labels{/name}","releases_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy/releases{/id}","created_at":"2014-09-03T18:57:41Z","updated_at":"2015-03-13T14:53:05Z","pushed_at":"2015-03-13T14:53:08Z","git_url":"git://github.com/galaxyproject/ansible-galaxy.git","ssh_url":"git@github.com:galaxyproject/ansible-galaxy.git","clone_url":"https://github.com/galaxyproject/ansible-galaxy.git","svn_url":"https://github.com/galaxyproject/ansible-galaxy","homepage":"https://galaxy.ansible.com/list#/roles/1615","size":209,"stargazers_count":7,"watchers_count":7,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/galaxyproject/ansible-galaxy/pulls/4"},"html":{"href":"https://github.com/galaxyproject/ansible-galaxy/pull/4"},"issue":{"href":"https://api.github.com/repos/galaxyproject/ansible-galaxy/issues/4"},"comments":{"href":"https://api.github.com/repos/galaxyproject/ansible-galaxy/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/galaxyproject/ansible-galaxy/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/galaxyproject/ansible-galaxy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/galaxyproject/ansible-galaxy/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/galaxyproject/ansible-galaxy/statuses/94526aee4588bad242e61f07e81e663021dfd198"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":0,"changed_files":1}}