summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2015-12-23 10:43:48 -0500
committerAndrew Butcher <abutcher@redhat.com>2015-12-23 11:50:35 -0500
commit6a39578bb89ec2fe018b78a9cb2f5ee7de6e99c5 (patch)
treeeb4c6dfd85eb4a3011e6a8710a561051399266e1
parent6de7cec289e5d390e6b2fb6d5ba096f55062f625 (diff)
downloadopenshift-6a39578bb89ec2fe018b78a9cb2f5ee7de6e99c5.tar.gz
openshift-6a39578bb89ec2fe018b78a9cb2f5ee7de6e99c5.tar.bz2
openshift-6a39578bb89ec2fe018b78a9cb2f5ee7de6e99c5.tar.xz
openshift-6a39578bb89ec2fe018b78a9cb2f5ee7de6e99c5.zip
Remove lb from docker hosts.
-rw-r--r--playbooks/common/openshift-docker/config.yml2
-rw-r--r--playbooks/common/openshift-master/config.yml1
2 files changed, 2 insertions, 1 deletions
diff --git a/playbooks/common/openshift-docker/config.yml b/playbooks/common/openshift-docker/config.yml
index f838dd66c..092d5533c 100644
--- a/playbooks/common/openshift-docker/config.yml
+++ b/playbooks/common/openshift-docker/config.yml
@@ -1,5 +1,5 @@
- name: Configure docker hosts
- hosts: oo_masters_to_config:oo_nodes_to_config:oo_etcd_to_config:oo_lb_to_config
+ hosts: oo_masters_to_config:oo_nodes_to_config:oo_etcd_to_config
vars:
docker_additional_registries: "{{ lookup('oo_option', 'docker_additional_registries') | oo_split }}"
docker_insecure_registries: "{{ lookup('oo_option', 'docker_insecure_registries') | oo_split }}"
diff --git a/playbooks/common/openshift-master/config.yml b/playbooks/common/openshift-master/config.yml
index 3598bdad7..fae37d70c 100644
--- a/playbooks/common/openshift-master/config.yml
+++ b/playbooks/common/openshift-master/config.yml
@@ -232,6 +232,7 @@
balance: source
servers: "{{ hostvars.localhost.haproxy_backend_servers }}"
roles:
+ - role: openshift_facts
- role: haproxy
when: groups.oo_masters_to_config | length > 1