diff options
author | Andrew Butcher <abutcher@redhat.com> | 2015-12-04 08:53:30 -0500 |
---|---|---|
committer | Andrew Butcher <abutcher@redhat.com> | 2015-12-08 13:30:23 -0500 |
commit | 208063939b6b97b80b4bd3ab12358fb745993d44 (patch) | |
tree | e006de282b2ed7f39ae3007c6653d304500c0fad /playbooks/common | |
parent | 64d40b71f3b52b69999831a7d6e13916ec5ad1cd (diff) | |
download | openshift-208063939b6b97b80b4bd3ab12358fb745993d44.tar.gz openshift-208063939b6b97b80b4bd3ab12358fb745993d44.tar.bz2 openshift-208063939b6b97b80b4bd3ab12358fb745993d44.tar.xz openshift-208063939b6b97b80b4bd3ab12358fb745993d44.zip |
Pass in and use first_master_ip as dnsIP for pre 3.1 nodes.
Diffstat (limited to 'playbooks/common')
-rw-r--r-- | playbooks/common/openshift-cluster/scaleup.yml | 2 | ||||
-rw-r--r-- | playbooks/common/openshift-node/config.yml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/playbooks/common/openshift-cluster/scaleup.yml b/playbooks/common/openshift-cluster/scaleup.yml index e1778e41e..d2ba3fc7a 100644 --- a/playbooks/common/openshift-cluster/scaleup.yml +++ b/playbooks/common/openshift-cluster/scaleup.yml @@ -3,6 +3,4 @@ - include: ../openshift-node/config.yml vars: - osn_cluster_dns_domain: "{{ hostvars[groups.oo_first_master.0].openshift.dns.domain }}" - osn_cluster_dns_ip: "{{ hostvars[groups.oo_first_master.0].openshift.dns.ip }}" openshift_deployment_type: "{{ deployment_type }}" diff --git a/playbooks/common/openshift-node/config.yml b/playbooks/common/openshift-node/config.yml index 2b6171cb3..952a9fd51 100644 --- a/playbooks/common/openshift-node/config.yml +++ b/playbooks/common/openshift-node/config.yml @@ -158,8 +158,10 @@ vars: sync_tmpdir: "{{ hostvars.localhost.mktemp.stdout }}" openshift_node_master_api_url: "{{ hostvars[groups.oo_first_master.0].openshift.master.api_url }}" + # TODO: Prefix flannel role variables. etcd_urls: "{{ hostvars[groups.oo_first_master.0].openshift.master.etcd_urls }}" embedded_etcd: "{{ hostvars[groups.oo_first_master.0].openshift.master.embedded_etcd }}" + openshift_node_first_master_ip: "{{ hostvars[groups.oo_first_master.0].openshift.common.ip }}" pre_tasks: - name: Ensure certificate directory exists file: |