Ver Fonte

Set etcd_hostname and etcd_ip for masters w/ external etcd.

Andrew Butcher há 9 anos atrás
pai
commit
2903d04eac
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      playbooks/common/openshift-master/config.yml

+ 2 - 0
playbooks/common/openshift-master/config.yml

@@ -82,6 +82,8 @@
       etcd_cert_subdir: openshift-master-{{ openshift.common.hostname }}
       etcd_cert_config_dir: "{{ openshift.common.config_base }}/master"
       etcd_cert_prefix: master.etcd-
+      etcd_hostname: "{{ openshift.common.hostname }}"
+      etcd_ip: "{{ openshift.common.ip }}"
     when: groups.oo_etcd_to_config is defined and groups.oo_etcd_to_config
 
 - name: Create temp directory for syncing certs