{"action":"created","comment":{"url":"https://api.github.com/repos/openshift/openshift-online-ansible/pulls/comments/24828614","id":24828614,"diff_hunk":"@@ -0,0 +1,41 @@\n+---\n+\n+# tasks file for openshift_node\n+- name: Install OpenShift\n+  yum: pkg=openshift-node state=installed\n+\n+  # fixme: Once openshift stops resolving hostnames for node queries remove this...\n+- name: Set hostname to IP Addr (WORKAROUND)\n+  command: /usr/bin/hostname {{ oo_bind_ip }}","path":"roles/openshift_node/tasks/main.yml","position":9,"original_position":9,"commit_id":"90010f6db6294a99c56194afd89a0359a3d278dc","original_commit_id":"90010f6db6294a99c56194afd89a0359a3d278dc","user":{"login":"twiest","id":732867,"avatar_url":"https://avatars.githubusercontent.com/u/732867?v=3","gravatar_id":"","url":"https://api.github.com/users/twiest","html_url":"https://github.com/twiest","followers_url":"https://api.github.com/users/twiest/followers","following_url":"https://api.github.com/users/twiest/following{/other_user}","gists_url":"https://api.github.com/users/twiest/gists{/gist_id}","starred_url":"https://api.github.com/users/twiest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twiest/subscriptions","organizations_url":"https://api.github.com/users/twiest/orgs","repos_url":"https://api.github.com/users/twiest/repos","events_url":"https://api.github.com/users/twiest/events{/privacy}","received_events_url":"https://api.github.com/users/twiest/received_events","type":"User","site_admin":false},"body":"@jwhonce He's using the ansible hostname module, which I believe is a better way to achieve the same thing you're doing above.\r\n\r\nhttp://docs.ansible.com/hostname_module.html","created_at":"2015-02-17T16:29:23Z","updated_at":"2015-02-17T16:29:23Z","html_url":"https://github.com/openshift/openshift-online-ansible/pull/61#discussion_r24828614","pull_request_url":"https://api.github.com/repos/openshift/openshift-online-ansible/pulls/61","_links":{"self":{"href":"https://api.github.com/repos/openshift/openshift-online-ansible/pulls/comments/24828614"},"html":{"href":"https://github.com/openshift/openshift-online-ansible/pull/61#discussion_r24828614"},"pull_request":{"href":"https://api.github.com/repos/openshift/openshift-online-ansible/pulls/61"}}},"pull_request":{"url":"https://api.github.com/repos/openshift/openshift-online-ansible/pulls/61","id":29406202,"html_url":"https://github.com/openshift/openshift-online-ansible/pull/61","diff_url":"https://github.com/openshift/openshift-online-ansible/pull/61.diff","patch_url":"https://github.com/openshift/openshift-online-ansible/pull/61.patch","issue_url":"https://api.github.com/repos/openshift/openshift-online-ansible/issues/61","number":61,"state":"open","locked":false,"title":"Update playbooks for latest origin code","user":{"login":"jwhonce","id":796529,"avatar_url":"https://avatars.githubusercontent.com/u/796529?v=3","gravatar_id":"","url":"https://api.github.com/users/jwhonce","html_url":"https://github.com/jwhonce","followers_url":"https://api.github.com/users/jwhonce/followers","following_url":"https://api.github.com/users/jwhonce/following{/other_user}","gists_url":"https://api.github.com/users/jwhonce/gists{/gist_id}","starred_url":"https://api.github.com/users/jwhonce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwhonce/subscriptions","organizations_url":"https://api.github.com/users/jwhonce/orgs","repos_url":"https://api.github.com/users/jwhonce/repos","events_url":"https://api.github.com/users/jwhonce/events{/privacy}","received_events_url":"https://api.github.com/users/jwhonce/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-02-16T22:55:10Z","updated_at":"2015-02-17T16:29:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0c182cf122b34036403fe7b32b8a6bc70b429b77","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openshift/openshift-online-ansible/pulls/61/commits","review_comments_url":"https://api.github.com/repos/openshift/openshift-online-ansible/pulls/61/comments","review_comment_url":"https://api.github.com/repos/openshift/openshift-online-ansible/pulls/comments/{number}","comments_url":"https://api.github.com/repos/openshift/openshift-online-ansible/issues/61/comments","statuses_url":"https://api.github.com/repos/openshift/openshift-online-ansible/statuses/90010f6db6294a99c56194afd89a0359a3d278dc","head":{"label":"jwhonce:wip/kubeconfig","ref":"wip/kubeconfig","sha":"90010f6db6294a99c56194afd89a0359a3d278dc","user":{"login":"jwhonce","id":796529,"avatar_url":"https://avatars.githubusercontent.com/u/796529?v=3","gravatar_id":"","url":"https://api.github.com/users/jwhonce","html_url":"https://github.com/jwhonce","followers_url":"https://api.github.com/users/jwhonce/followers","following_url":"https://api.github.com/users/jwhonce/following{/other_user}","gists_url":"https://api.github.com/users/jwhonce/gists{/gist_id}","starred_url":"https://api.github.com/users/jwhonce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwhonce/subscriptions","organizations_url":"https://api.github.com/users/jwhonce/orgs","repos_url":"https://api.github.com/users/jwhonce/repos","events_url":"https://api.github.com/users/jwhonce/events{/privacy}","received_events_url":"https://api.github.com/users/jwhonce/received_events","type":"User","site_admin":false},"repo":{"id":25696584,"name":"openshift-online-ansible","full_name":"jwhonce/openshift-online-ansible","owner":{"login":"jwhonce","id":796529,"avatar_url":"https://avatars.githubusercontent.com/u/796529?v=3","gravatar_id":"","url":"https://api.github.com/users/jwhonce","html_url":"https://github.com/jwhonce","followers_url":"https://api.github.com/users/jwhonce/followers","following_url":"https://api.github.com/users/jwhonce/following{/other_user}","gists_url":"https://api.github.com/users/jwhonce/gists{/gist_id}","starred_url":"https://api.github.com/users/jwhonce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwhonce/subscriptions","organizations_url":"https://api.github.com/users/jwhonce/orgs","repos_url":"https://api.github.com/users/jwhonce/repos","events_url":"https://api.github.com/users/jwhonce/events{/privacy}","received_events_url":"https://api.github.com/users/jwhonce/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jwhonce/openshift-online-ansible","description":"Openshift 3.0 code","fork":true,"url":"https://api.github.com/repos/jwhonce/openshift-online-ansible","forks_url":"https://api.github.com/repos/jwhonce/openshift-online-ansible/forks","keys_url":"https://api.github.com/repos/jwhonce/openshift-online-ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jwhonce/openshift-online-ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jwhonce/openshift-online-ansible/teams","hooks_url":"https://api.github.com/repos/jwhonce/openshift-online-ansible/hooks","issue_events_url":"https://api.github.com/repos/jwhonce/openshift-online-ansible/issues/events{/number}","events_url":"https://api.github.com/repos/jwhonce/openshift-online-ansible/events","assignees_url":"https://api.github.com/repos/jwhonce/openshift-online-ansible/assignees{/user}","branches_url":"https://api.github.com/repos/jwhonce/openshift-online-ansible/branches{/branch}","tags_url":"https://api.github.com/repos/jwhonce/openshift-online-ansible/tags","blobs_url":"https://api.github.com/repos/jwhonce/openshift-online-ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jwhonce/openshift-online-ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jwhonce/openshift-online-ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/jwhonce/openshift-online-ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jwhonce/openshift-online-ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/jwhonce/openshift-online-ansible/languages","stargazers_url":"https://api.github.com/repos/jwhonce/openshift-online-ansible/stargazers","contributors_url":"https://api.github.com/repos/jwhonce/openshift-online-ansible/contributors","subscribers_url":"https://api.github.com/repos/jwhonce/openshift-online-ansible/subscribers","subscription_url":"https://api.github.com/repos/jwhonce/openshift-online-ansible/subscription","commits_url":"https://api.github.com/repos/jwhonce/openshift-online-ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/jwhonce/openshift-online-ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/jwhonce/openshift-online-ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/jwhonce/openshift-online-ansible/issues/comments/{number}","contents_url":"https://api.github.com/repos/jwhonce/openshift-online-ansible/contents/{+path}","compare_url":"https://api.github.com/repos/jwhonce/openshift-online-ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jwhonce/openshift-online-ansible/merges","archive_url":"https://api.github.com/repos/jwhonce/openshift-online-ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jwhonce/openshift-online-ansible/downloads","issues_url":"https://api.github.com/repos/jwhonce/openshift-online-ansible/issues{/number}","pulls_url":"https://api.github.com/repos/jwhonce/openshift-online-ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/jwhonce/openshift-online-ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/jwhonce/openshift-online-ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jwhonce/openshift-online-ansible/labels{/name}","releases_url":"https://api.github.com/repos/jwhonce/openshift-online-ansible/releases{/id}","created_at":"2014-10-24T16:11:51Z","updated_at":"2015-02-13T19:15:09Z","pushed_at":"2015-02-17T00:57:29Z","git_url":"git://github.com/jwhonce/openshift-online-ansible.git","ssh_url":"git@github.com:jwhonce/openshift-online-ansible.git","clone_url":"https://github.com/jwhonce/openshift-online-ansible.git","svn_url":"https://github.com/jwhonce/openshift-online-ansible","homepage":null,"size":404,"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":"openshift:master","ref":"master","sha":"9fed3621012fa21e87e46c704904895bf26cfa1f","user":{"login":"openshift","id":792337,"avatar_url":"https://avatars.githubusercontent.com/u/792337?v=3","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-online-ansible","full_name":"openshift/openshift-online-ansible","owner":{"login":"openshift","id":792337,"avatar_url":"https://avatars.githubusercontent.com/u/792337?v=3","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-online-ansible","description":"OpenShift Online's Ansible Code","fork":false,"url":"https://api.github.com/repos/openshift/openshift-online-ansible","forks_url":"https://api.github.com/repos/openshift/openshift-online-ansible/forks","keys_url":"https://api.github.com/repos/openshift/openshift-online-ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openshift/openshift-online-ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openshift/openshift-online-ansible/teams","hooks_url":"https://api.github.com/repos/openshift/openshift-online-ansible/hooks","issue_events_url":"https://api.github.com/repos/openshift/openshift-online-ansible/issues/events{/number}","events_url":"https://api.github.com/repos/openshift/openshift-online-ansible/events","assignees_url":"https://api.github.com/repos/openshift/openshift-online-ansible/assignees{/user}","branches_url":"https://api.github.com/repos/openshift/openshift-online-ansible/branches{/branch}","tags_url":"https://api.github.com/repos/openshift/openshift-online-ansible/tags","blobs_url":"https://api.github.com/repos/openshift/openshift-online-ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openshift/openshift-online-ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openshift/openshift-online-ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/openshift/openshift-online-ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openshift/openshift-online-ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/openshift/openshift-online-ansible/languages","stargazers_url":"https://api.github.com/repos/openshift/openshift-online-ansible/stargazers","contributors_url":"https://api.github.com/repos/openshift/openshift-online-ansible/contributors","subscribers_url":"https://api.github.com/repos/openshift/openshift-online-ansible/subscribers","subscription_url":"https://api.github.com/repos/openshift/openshift-online-ansible/subscription","commits_url":"https://api.github.com/repos/openshift/openshift-online-ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/openshift/openshift-online-ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/openshift/openshift-online-ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/openshift/openshift-online-ansible/issues/comments/{number}","contents_url":"https://api.github.com/repos/openshift/openshift-online-ansible/contents/{+path}","compare_url":"https://api.github.com/repos/openshift/openshift-online-ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openshift/openshift-online-ansible/merges","archive_url":"https://api.github.com/repos/openshift/openshift-online-ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openshift/openshift-online-ansible/downloads","issues_url":"https://api.github.com/repos/openshift/openshift-online-ansible/issues{/number}","pulls_url":"https://api.github.com/repos/openshift/openshift-online-ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/openshift/openshift-online-ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/openshift/openshift-online-ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openshift/openshift-online-ansible/labels{/name}","releases_url":"https://api.github.com/repos/openshift/openshift-online-ansible/releases{/id}","created_at":"2014-09-16T17:07:51Z","updated_at":"2015-02-16T17:31:52Z","pushed_at":"2015-02-16T17:31:51Z","git_url":"git://github.com/openshift/openshift-online-ansible.git","ssh_url":"git@github.com:openshift/openshift-online-ansible.git","clone_url":"https://github.com/openshift/openshift-online-ansible.git","svn_url":"https://github.com/openshift/openshift-online-ansible","homepage":"","size":853,"stargazers_count":10,"watchers_count":10,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":5,"forks":17,"open_issues":5,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openshift/openshift-online-ansible/pulls/61"},"html":{"href":"https://github.com/openshift/openshift-online-ansible/pull/61"},"issue":{"href":"https://api.github.com/repos/openshift/openshift-online-ansible/issues/61"},"comments":{"href":"https://api.github.com/repos/openshift/openshift-online-ansible/issues/61/comments"},"review_comments":{"href":"https://api.github.com/repos/openshift/openshift-online-ansible/pulls/61/comments"},"review_comment":{"href":"https://api.github.com/repos/openshift/openshift-online-ansible/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/openshift/openshift-online-ansible/pulls/61/commits"},"statuses":{"href":"https://api.github.com/repos/openshift/openshift-online-ansible/statuses/90010f6db6294a99c56194afd89a0359a3d278dc"}}}}