{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/openshift-ansible/issues/474","labels_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/474/labels{/name}","comments_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/474/comments","events_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/474/events","html_url":"https://github.com/openshift/openshift-ansible/pull/474","id":100975670,"number":474,"title":"Force “public hostname” to be the public IP","user":{"login":"lhuard1A","id":9693988,"avatar_url":"https://avatars.githubusercontent.com/u/9693988?v=3","gravatar_id":"","url":"https://api.github.com/users/lhuard1A","html_url":"https://github.com/lhuard1A","followers_url":"https://api.github.com/users/lhuard1A/followers","following_url":"https://api.github.com/users/lhuard1A/following{/other_user}","gists_url":"https://api.github.com/users/lhuard1A/gists{/gist_id}","starred_url":"https://api.github.com/users/lhuard1A/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lhuard1A/subscriptions","organizations_url":"https://api.github.com/users/lhuard1A/orgs","repos_url":"https://api.github.com/users/lhuard1A/repos","events_url":"https://api.github.com/users/lhuard1A/events{/privacy}","received_events_url":"https://api.github.com/users/lhuard1A/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-14T09:41:00Z","updated_at":"2015-08-15T04:15:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openshift/openshift-ansible/pulls/474","html_url":"https://github.com/openshift/openshift-ansible/pull/474","diff_url":"https://github.com/openshift/openshift-ansible/pull/474.diff","patch_url":"https://github.com/openshift/openshift-ansible/pull/474.patch"},"body":"on OpenStack and libvirt because the machine name is not something that\r\nis DNS solvable from the outside of the cluster.\r\nAs a consequence, the OpenShift GUI renerated redirections to “unknown hosts”.\r\n\r\nFixes #469"},"comment":{"url":"https://api.github.com/repos/openshift/openshift-ansible/issues/comments/131292621","html_url":"https://github.com/openshift/openshift-ansible/pull/474#issuecomment-131292621","issue_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/474","id":131292621,"user":{"login":"xionglingfeng","id":907251,"avatar_url":"https://avatars.githubusercontent.com/u/907251?v=3","gravatar_id":"","url":"https://api.github.com/users/xionglingfeng","html_url":"https://github.com/xionglingfeng","followers_url":"https://api.github.com/users/xionglingfeng/followers","following_url":"https://api.github.com/users/xionglingfeng/following{/other_user}","gists_url":"https://api.github.com/users/xionglingfeng/gists{/gist_id}","starred_url":"https://api.github.com/users/xionglingfeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xionglingfeng/subscriptions","organizations_url":"https://api.github.com/users/xionglingfeng/orgs","repos_url":"https://api.github.com/users/xionglingfeng/repos","events_url":"https://api.github.com/users/xionglingfeng/events{/privacy}","received_events_url":"https://api.github.com/users/xionglingfeng/received_events","type":"User","site_admin":false},"created_at":"2015-08-15T04:15:33Z","updated_at":"2015-08-15T04:15:33Z","body":"@wshearn I got a error said\r\n\r\n    fatal: [10.99.0.140] => One or more undefined variables: 'ansible_ssh_host' is undefined\r\n    \r\n    FATAL: all hosts have already failed -- aborting\r\n\r\nI tried to set `openshift_public_hostname` to a fixed value:\r\n\r\n        openshift_public_hostname: \"master.example.com\"\r\n\r\nand it worked!\r\n\r\nI think this variable should be easy for customization because if we force it to the public IP address, it will redirect users to this IP instead of the correct domain name in production."}}