diff options
author | Devan Goodwin <dgoodwin@redhat.com> | 2016-10-05 09:33:31 -0300 |
---|---|---|
committer | Devan Goodwin <dgoodwin@redhat.com> | 2016-10-06 09:32:58 -0300 |
commit | 1ae447a3409afe4308e61f2511ab6dc1a9ca92cb (patch) | |
tree | 553802393edd257eedee927e2a3bece8c106e14f /roles/openshift_loadbalancer | |
parent | 0c01e07493a4660f3eade5b96abefaa5b1f062b9 (diff) | |
download | openshift-1ae447a3409afe4308e61f2511ab6dc1a9ca92cb.tar.gz openshift-1ae447a3409afe4308e61f2511ab6dc1a9ca92cb.tar.bz2 openshift-1ae447a3409afe4308e61f2511ab6dc1a9ca92cb.tar.xz openshift-1ae447a3409afe4308e61f2511ab6dc1a9ca92cb.zip |
Error out if containerized=true for lb host.
Diffstat (limited to 'roles/openshift_loadbalancer')
-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: |