{"action":"opened","number":6320,"pull_request":{"url":"https://api.github.com/repos/openshift/openshift-ansible/pulls/6320","id":155650974,"html_url":"https://github.com/openshift/openshift-ansible/pull/6320","diff_url":"https://github.com/openshift/openshift-ansible/pull/6320.diff","patch_url":"https://github.com/openshift/openshift-ansible/pull/6320.patch","issue_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/6320","number":6320,"state":"open","locked":false,"title":"Fix inventory symlinks in origin-ansible container.","user":{"login":"dgoodwin","id":51265,"avatar_url":"https://avatars3.githubusercontent.com/u/51265?v=4","gravatar_id":"","url":"https://api.github.com/users/dgoodwin","html_url":"https://github.com/dgoodwin","followers_url":"https://api.github.com/users/dgoodwin/followers","following_url":"https://api.github.com/users/dgoodwin/following{/other_user}","gists_url":"https://api.github.com/users/dgoodwin/gists{/gist_id}","starred_url":"https://api.github.com/users/dgoodwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgoodwin/subscriptions","organizations_url":"https://api.github.com/users/dgoodwin/orgs","repos_url":"https://api.github.com/users/dgoodwin/repos","events_url":"https://api.github.com/users/dgoodwin/events{/privacy}","received_events_url":"https://api.github.com/users/dgoodwin/received_events","type":"User","site_admin":false},"body":"When attempting to run openshift-ansible in a kubernetes pod, we\r\nattempted to use a configmap to mount in our inventory to run against.\r\nHowever kubernetes mounts configmaps/secrets volumes through the use of\r\nrelative symlinks. The use of \"cp -a\" in this script then copies a\r\nrelative symlink to /tmp which is now dangling, and ansible will fail to\r\nrun.\r\n\r\nThis patch changes to just copy the file regularly resulting in a value\r\ntemp file that is not a symlink.","created_at":"2017-11-30T16:09:57Z","updated_at":"2017-11-30T16:09:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[{"login":"juanvallejo","id":3902875,"avatar_url":"https://avatars2.githubusercontent.com/u/3902875?v=4","gravatar_id":"","url":"https://api.github.com/users/juanvallejo","html_url":"https://github.com/juanvallejo","followers_url":"https://api.github.com/users/juanvallejo/followers","following_url":"https://api.github.com/users/juanvallejo/following{/other_user}","gists_url":"https://api.github.com/users/juanvallejo/gists{/gist_id}","starred_url":"https://api.github.com/users/juanvallejo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juanvallejo/subscriptions","organizations_url":"https://api.github.com/users/juanvallejo/orgs","repos_url":"https://api.github.com/users/juanvallejo/repos","events_url":"https://api.github.com/users/juanvallejo/events{/privacy}","received_events_url":"https://api.github.com/users/juanvallejo/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/openshift/openshift-ansible/pulls/6320/commits","review_comments_url":"https://api.github.com/repos/openshift/openshift-ansible/pulls/6320/comments","review_comment_url":"https://api.github.com/repos/openshift/openshift-ansible/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/6320/comments","statuses_url":"https://api.github.com/repos/openshift/openshift-ansible/statuses/f6fd3a10c522d807b1a01da1963e1b7558e0333b","head":{"label":"dgoodwin:containerized-inventory-symlink","ref":"containerized-inventory-symlink","sha":"f6fd3a10c522d807b1a01da1963e1b7558e0333b","user":{"login":"dgoodwin","id":51265,"avatar_url":"https://avatars3.githubusercontent.com/u/51265?v=4","gravatar_id":"","url":"https://api.github.com/users/dgoodwin","html_url":"https://github.com/dgoodwin","followers_url":"https://api.github.com/users/dgoodwin/followers","following_url":"https://api.github.com/users/dgoodwin/following{/other_user}","gists_url":"https://api.github.com/users/dgoodwin/gists{/gist_id}","starred_url":"https://api.github.com/users/dgoodwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgoodwin/subscriptions","organizations_url":"https://api.github.com/users/dgoodwin/orgs","repos_url":"https://api.github.com/users/dgoodwin/repos","events_url":"https://api.github.com/users/dgoodwin/events{/privacy}","received_events_url":"https://api.github.com/users/dgoodwin/received_events","type":"User","site_admin":false},"repo":{"id":43770383,"name":"openshift-ansible","full_name":"dgoodwin/openshift-ansible","owner":{"login":"dgoodwin","id":51265,"avatar_url":"https://avatars3.githubusercontent.com/u/51265?v=4","gravatar_id":"","url":"https://api.github.com/users/dgoodwin","html_url":"https://github.com/dgoodwin","followers_url":"https://api.github.com/users/dgoodwin/followers","following_url":"https://api.github.com/users/dgoodwin/following{/other_user}","gists_url":"https://api.github.com/users/dgoodwin/gists{/gist_id}","starred_url":"https://api.github.com/users/dgoodwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgoodwin/subscriptions","organizations_url":"https://api.github.com/users/dgoodwin/orgs","repos_url":"https://api.github.com/users/dgoodwin/repos","events_url":"https://api.github.com/users/dgoodwin/events{/privacy}","received_events_url":"https://api.github.com/users/dgoodwin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dgoodwin/openshift-ansible","description":"OpenShift Ansible Code","fork":true,"url":"https://api.github.com/repos/dgoodwin/openshift-ansible","forks_url":"https://api.github.com/repos/dgoodwin/openshift-ansible/forks","keys_url":"https://api.github.com/repos/dgoodwin/openshift-ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dgoodwin/openshift-ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dgoodwin/openshift-ansible/teams","hooks_url":"https://api.github.com/repos/dgoodwin/openshift-ansible/hooks","issue_events_url":"https://api.github.com/repos/dgoodwin/openshift-ansible/issues/events{/number}","events_url":"https://api.github.com/repos/dgoodwin/openshift-ansible/events","assignees_url":"https://api.github.com/repos/dgoodwin/openshift-ansible/assignees{/user}","branches_url":"https://api.github.com/repos/dgoodwin/openshift-ansible/branches{/branch}","tags_url":"https://api.github.com/repos/dgoodwin/openshift-ansible/tags","blobs_url":"https://api.github.com/repos/dgoodwin/openshift-ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dgoodwin/openshift-ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dgoodwin/openshift-ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/dgoodwin/openshift-ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dgoodwin/openshift-ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/dgoodwin/openshift-ansible/languages","stargazers_url":"https://api.github.com/repos/dgoodwin/openshift-ansible/stargazers","contributors_url":"https://api.github.com/repos/dgoodwin/openshift-ansible/contributors","subscribers_url":"https://api.github.com/repos/dgoodwin/openshift-ansible/subscribers","subscription_url":"https://api.github.com/repos/dgoodwin/openshift-ansible/subscription","commits_url":"https://api.github.com/repos/dgoodwin/openshift-ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/dgoodwin/openshift-ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/dgoodwin/openshift-ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/dgoodwin/openshift-ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/dgoodwin/openshift-ansible/contents/{+path}","compare_url":"https://api.github.com/repos/dgoodwin/openshift-ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dgoodwin/openshift-ansible/merges","archive_url":"https://api.github.com/repos/dgoodwin/openshift-ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dgoodwin/openshift-ansible/downloads","issues_url":"https://api.github.com/repos/dgoodwin/openshift-ansible/issues{/number}","pulls_url":"https://api.github.com/repos/dgoodwin/openshift-ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/dgoodwin/openshift-ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/dgoodwin/openshift-ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dgoodwin/openshift-ansible/labels{/name}","releases_url":"https://api.github.com/repos/dgoodwin/openshift-ansible/releases{/id}","deployments_url":"https://api.github.com/repos/dgoodwin/openshift-ansible/deployments","created_at":"2015-10-06T18:30:27Z","updated_at":"2016-04-15T18:36:05Z","pushed_at":"2017-11-30T16:08:46Z","git_url":"git://github.com/dgoodwin/openshift-ansible.git","ssh_url":"git@github.com:dgoodwin/openshift-ansible.git","clone_url":"https://github.com/dgoodwin/openshift-ansible.git","svn_url":"https://github.com/dgoodwin/openshift-ansible","homepage":"","size":15667,"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,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"openshift:master","ref":"master","sha":"6b6b422245be79dd3eec0c93a58875c646bbfba7","user":{"login":"openshift","id":792337,"avatar_url":"https://avatars3.githubusercontent.com/u/792337?v=4","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"repo":{"id":24109199,"name":"openshift-ansible","full_name":"openshift/openshift-ansible","owner":{"login":"openshift","id":792337,"avatar_url":"https://avatars3.githubusercontent.com/u/792337?v=4","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openshift/openshift-ansible","description":"OpenShift Installation and Configuration Management","fork":false,"url":"https://api.github.com/repos/openshift/openshift-ansible","forks_url":"https://api.github.com/repos/openshift/openshift-ansible/forks","keys_url":"https://api.github.com/repos/openshift/openshift-ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openshift/openshift-ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openshift/openshift-ansible/teams","hooks_url":"https://api.github.com/repos/openshift/openshift-ansible/hooks","issue_events_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/events{/number}","events_url":"https://api.github.com/repos/openshift/openshift-ansible/events","assignees_url":"https://api.github.com/repos/openshift/openshift-ansible/assignees{/user}","branches_url":"https://api.github.com/repos/openshift/openshift-ansible/branches{/branch}","tags_url":"https://api.github.com/repos/openshift/openshift-ansible/tags","blobs_url":"https://api.github.com/repos/openshift/openshift-ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openshift/openshift-ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openshift/openshift-ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/openshift/openshift-ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openshift/openshift-ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/openshift/openshift-ansible/languages","stargazers_url":"https://api.github.com/repos/openshift/openshift-ansible/stargazers","contributors_url":"https://api.github.com/repos/openshift/openshift-ansible/contributors","subscribers_url":"https://api.github.com/repos/openshift/openshift-ansible/subscribers","subscription_url":"https://api.github.com/repos/openshift/openshift-ansible/subscription","commits_url":"https://api.github.com/repos/openshift/openshift-ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/openshift/openshift-ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/openshift/openshift-ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/openshift/openshift-ansible/contents/{+path}","compare_url":"https://api.github.com/repos/openshift/openshift-ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openshift/openshift-ansible/merges","archive_url":"https://api.github.com/repos/openshift/openshift-ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openshift/openshift-ansible/downloads","issues_url":"https://api.github.com/repos/openshift/openshift-ansible/issues{/number}","pulls_url":"https://api.github.com/repos/openshift/openshift-ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/openshift/openshift-ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/openshift/openshift-ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openshift/openshift-ansible/labels{/name}","releases_url":"https://api.github.com/repos/openshift/openshift-ansible/releases{/id}","deployments_url":"https://api.github.com/repos/openshift/openshift-ansible/deployments","created_at":"2014-09-16T17:07:51Z","updated_at":"2017-11-30T02:10:55Z","pushed_at":"2017-11-30T14:39:19Z","git_url":"git://github.com/openshift/openshift-ansible.git","ssh_url":"git@github.com:openshift/openshift-ansible.git","clone_url":"https://github.com/openshift/openshift-ansible.git","svn_url":"https://github.com/openshift/openshift-ansible","homepage":"https://install.openshift.com","size":20663,"stargazers_count":641,"watchers_count":641,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1006,"mirror_url":null,"archived":false,"open_issues_count":631,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":1006,"open_issues":631,"watchers":641,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openshift/openshift-ansible/pulls/6320"},"html":{"href":"https://github.com/openshift/openshift-ansible/pull/6320"},"issue":{"href":"https://api.github.com/repos/openshift/openshift-ansible/issues/6320"},"comments":{"href":"https://api.github.com/repos/openshift/openshift-ansible/issues/6320/comments"},"review_comments":{"href":"https://api.github.com/repos/openshift/openshift-ansible/pulls/6320/comments"},"review_comment":{"href":"https://api.github.com/repos/openshift/openshift-ansible/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openshift/openshift-ansible/pulls/6320/commits"},"statuses":{"href":"https://api.github.com/repos/openshift/openshift-ansible/statuses/f6fd3a10c522d807b1a01da1963e1b7558e0333b"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"dgoodwin"}}