summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
Diffstat (limited to 'roles')
-rw-r--r--roles/openshift_loadbalancer/tasks/main.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/roles/openshift_loadbalancer/tasks/main.yml b/roles/openshift_loadbalancer/tasks/main.yml
index bb4982e2d..b8e6a7da2 100644
--- a/roles/openshift_loadbalancer/tasks/main.yml
+++ b/roles/openshift_loadbalancer/tasks/main.yml
@@ -1,7 +1,9 @@
---
+- fail: msg="Cannot use containerized=true for load balancer hosts."
+ when: openshift.common.is_containerized | bool
+
- name: Install haproxy
action: "{{ ansible_pkg_mgr }} name=haproxy state=present"
- when: not openshift.common.is_containerized | bool
- name: Configure systemd service directory for haproxy
file: