diff options
author | Andrew Butcher <abutcher@redhat.com> | 2017-07-20 16:01:15 -0400 |
---|---|---|
committer | Andrew Butcher <abutcher@redhat.com> | 2017-07-20 16:01:15 -0400 |
commit | f5a610764e20e214d99bd663f8aeb7700777df5d (patch) | |
tree | cf2fadb2dee96cbf65171304e8cc460505994a1e | |
parent | 4f5aa38fc9bb2836d9409ad0e6ece87ae9da774a (diff) | |
download | openshift-f5a610764e20e214d99bd663f8aeb7700777df5d.tar.gz openshift-f5a610764e20e214d99bd663f8aeb7700777df5d.tar.bz2 openshift-f5a610764e20e214d99bd663f8aeb7700777df5d.tar.xz openshift-f5a610764e20e214d99bd663f8aeb7700777df5d.zip |
Pass first master's openshift_image_tag to openshift_loadbalancer for containerized haproxy installation.
-rw-r--r-- | playbooks/common/openshift-loadbalancer/config.yml | 1 | ||||
-rw-r--r-- | roles/openshift_loadbalancer/README.md | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/playbooks/common/openshift-loadbalancer/config.yml b/playbooks/common/openshift-loadbalancer/config.yml index c414913bf..2dacc1218 100644 --- a/playbooks/common/openshift-loadbalancer/config.yml +++ b/playbooks/common/openshift-loadbalancer/config.yml @@ -12,5 +12,6 @@ openshift_use_nuage | default(false), nuage_mon_rest_server_port | default(none))) + openshift_loadbalancer_additional_backends | default([]) }}" + openshift_image_tag: "{{ hostvars[groups.oo_first_master.0].openshift_image_tag }}" roles: - role: openshift_loadbalancer diff --git a/roles/openshift_loadbalancer/README.md b/roles/openshift_loadbalancer/README.md index bea4c509b..330895f20 100644 --- a/roles/openshift_loadbalancer/README.md +++ b/roles/openshift_loadbalancer/README.md @@ -25,6 +25,7 @@ From this role: | openshift_loadbalancer_default_maxconn | 20000 | Maximum per-process number of concurrent connections. | | openshift_loadbalancer_frontends | none | List of frontends. See example below. | | openshift_loadbalancer_backends | none | List of backends. See example below. | +| openshift_image_tag | none | Image tag for containerized haproxy image. | Dependencies ------------ @@ -64,6 +65,7 @@ Example Playbook - name: master3 address: "192.168.122.223:8443" opts: check + openshift_image_tag: v3.6.153 ``` License |