diff options
author | Scott Dodson <sdodson@redhat.com> | 2016-10-06 10:27:15 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-06 10:27:15 -0400 |
commit | 7a5cd4a48e586bd05f10af2787e44d585793c120 (patch) | |
tree | e3e29fe4d504751f44778aba4cb168d6290b01b7 /roles/openshift_loadbalancer/tasks | |
parent | 51395fea9e7b7eb534eb89461568691904497262 (diff) | |
parent | 1ae447a3409afe4308e61f2511ab6dc1a9ca92cb (diff) | |
download | openshift-7a5cd4a48e586bd05f10af2787e44d585793c120.tar.gz openshift-7a5cd4a48e586bd05f10af2787e44d585793c120.tar.bz2 openshift-7a5cd4a48e586bd05f10af2787e44d585793c120.tar.xz openshift-7a5cd4a48e586bd05f10af2787e44d585793c120.zip |
Merge pull request #2548 from dgoodwin/containerized-b
Error out if containerized=true for lb host.
Diffstat (limited to 'roles/openshift_loadbalancer/tasks')
-rw-r--r-- | roles/openshift_loadbalancer/tasks/main.yml | 4 |
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: |