summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master/tasks
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2015-12-01 16:30:05 -0500
committerAndrew Butcher <abutcher@redhat.com>2015-12-03 12:40:49 -0500
commit192ccc8e6e6f465351828f32e9dc43b840897b67 (patch)
treec562abf558ec654b0c3c8ba4411bb8070f23dda1 /roles/openshift_master/tasks
parent3780deb06c7d8f85bfb031fbce7778646cbf64ee (diff)
downloadopenshift-192ccc8e6e6f465351828f32e9dc43b840897b67.tar.gz
openshift-192ccc8e6e6f465351828f32e9dc43b840897b67.tar.bz2
openshift-192ccc8e6e6f465351828f32e9dc43b840897b67.tar.xz
openshift-192ccc8e6e6f465351828f32e9dc43b840897b67.zip
Refactor dns options and facts.
Diffstat (limited to 'roles/openshift_master/tasks')
-rw-r--r--roles/openshift_master/tasks/main.yml8
1 files changed, 1 insertions, 7 deletions
diff --git a/roles/openshift_master/tasks/main.yml b/roles/openshift_master/tasks/main.yml
index 2cf2a53c4..5d4ddfca0 100644
--- a/roles/openshift_master/tasks/main.yml
+++ b/roles/openshift_master/tasks/main.yml
@@ -81,14 +81,8 @@
yum: pkg={{ openshift.common.service_type }}-master{{ openshift_version }} state=present
register: install_result
-# TODO: These values need to be configurable
-- name: Set dns facts
+- name: Re-gather package dependent master facts
openshift_facts:
- role: dns
- local_facts:
- ip: "{{ openshift_master_cluster_vip | default(openshift.common.ip, true) | default(None) }}"
- domain: cluster.local
- when: openshift.master.embedded_dns
- name: Create config parent directory if it does not exist
file: