diff options
author | Jhon Honce <jhonce@redhat.com> | 2014-10-03 15:16:18 -0700 |
---|---|---|
committer | Jhon Honce <jhonce@redhat.com> | 2014-10-03 15:16:18 -0700 |
commit | b00727520bc903efc02ece721c3500e599f18b75 (patch) | |
tree | 6eb2b8951fa06072b4a58f325ade5fa158e670ef /playbooks | |
parent | b1b2cbe00cfe766a414972352730454c1e79c2c2 (diff) | |
download | openshift-b00727520bc903efc02ece721c3500e599f18b75.tar.gz openshift-b00727520bc903efc02ece721c3500e599f18b75.tar.bz2 openshift-b00727520bc903efc02ece721c3500e599f18b75.tar.xz openshift-b00727520bc903efc02ece721c3500e599f18b75.zip |
WIP Infra - Use variables in roles
Diffstat (limited to 'playbooks')
-rw-r--r-- | playbooks/gce/openshift-master/config.yml | 3 | ||||
-rw-r--r-- | playbooks/gce/openshift-minion/config.yml | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/playbooks/gce/openshift-master/config.yml b/playbooks/gce/openshift-master/config.yml index 681f804cc..f705bb305 100644 --- a/playbooks/gce/openshift-master/config.yml +++ b/playbooks/gce/openshift-master/config.yml @@ -34,6 +34,7 @@ - ../../../roles/repos - { role: ../../../roles/openshift_master, - oo_minion_ips: "{{ hostvars['localhost'].oo_minion_ips | default(['']) }}" + oo_minion_ips: "{{ hostvars['localhost'].oo_minion_ips | default(['']) }}", + oo_bind_ip: "{{ hostvars[inventory_hostname].ansible_eth0.ipv4.address | default(['']) }}" } - ../../../roles/pods diff --git a/playbooks/gce/openshift-minion/config.yml b/playbooks/gce/openshift-minion/config.yml index 0a92d41c7..0f78d4c76 100644 --- a/playbooks/gce/openshift-minion/config.yml +++ b/playbooks/gce/openshift-minion/config.yml @@ -35,5 +35,6 @@ - ../../../roles/docker - { role: ../../../roles/openshift_minion, - oo_master_ips: "{{ hostvars['localhost'].oo_master_ips | default(['']) }}" + oo_master_ips: "{{ hostvars['localhost'].oo_master_ips | default(['']) }}", + oo_bind_ip: "{{ hostvars[inventory_hostname].ansible_eth0.ipv4.address | default(['']) }}" } |