diff options
Diffstat (limited to 'roles/openshift_loadbalancer_facts/tasks')
-rw-r--r-- | roles/openshift_loadbalancer_facts/tasks/main.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/roles/openshift_loadbalancer_facts/tasks/main.yml b/roles/openshift_loadbalancer_facts/tasks/main.yml index dc244c0be..5936ce5ba 100644 --- a/roles/openshift_loadbalancer_facts/tasks/main.yml +++ b/roles/openshift_loadbalancer_facts/tasks/main.yml @@ -20,6 +20,14 @@ binds: - "*:{{ openshift.loadbalancer.frontend_port }}" default_backend: atomic-openshift-api + - name: nuage-monitor + mode: tcp + options: + - tcplog + binds: + - "*:{{ nuage_mon_rest_server_port }}" + default_backend: nuage-monitor + when: openshift.common.use_nuage | bool backends: - name: atomic-openshift-api mode: tcp @@ -28,3 +36,11 @@ servers: "{{ hostvars | oo_select_keys(groups['oo_masters']) | oo_haproxy_backend_masters(openshift.loadbalancer.frontend_port) }}" + - name: nuage-monitor + mode: tcp + option: tcplog + balance: source + servers: "{{ hostvars + | oo_select_keys(groups['oo_masters']) + | oo_haproxy_backend_masters(nuage_mon_rest_server_port) }}" + when: openshift.common.use_nuage | bool |