proxies / reverseproxy: try some different logic
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
07385d35ed
commit
0e1d9f6ea7
1 changed files with 4 additions and 4 deletions
|
@ -10,7 +10,7 @@
|
|||
- name: Set OpenShift information if not preconfigured (prod)
|
||||
set_fact:
|
||||
balancer_members: "{{ openshift_nodes }}"
|
||||
when: 'targettype == "openshift" and not balancer_members is defined and env != "staging" '
|
||||
when: 'targettype == "openshift" and balancer_members is not defined and env != "staging" '
|
||||
tags:
|
||||
- httpd
|
||||
- httpd/reverseproxy
|
||||
|
@ -19,7 +19,7 @@
|
|||
- name: Set OpenShift4 information if not preconfigured (prod)
|
||||
set_fact:
|
||||
balancer_members: "{{ ocp_nodes }}"
|
||||
when: 'targettype == "openshift" and ocp4|bool and not balancer_members is defined and env != "staging" '
|
||||
when: 'targettype == "openshift" and ocp4|bool and balancer_members is not defined and env != "staging" '
|
||||
tags:
|
||||
- httpd
|
||||
- httpd/reverseproxy
|
||||
|
@ -28,7 +28,7 @@
|
|||
- name: Set OpenShift information if not preconfigured (stg)
|
||||
set_fact:
|
||||
balancer_members: "{{ openshift_nodes_stg }}"
|
||||
when: 'targettype == "openshift" and not balancer_members is defined and env == "staging" '
|
||||
when: 'targettype == "openshift" and balancer_members is not defined and env == "staging" '
|
||||
tags:
|
||||
- httpd
|
||||
- httpd/reverseproxy
|
||||
|
@ -37,7 +37,7 @@
|
|||
- name: Set OpenShift4 information if not preconfigured (stg)
|
||||
set_fact:
|
||||
balancer_members: "{{ ocp_nodes_stg }}"
|
||||
when: 'targettype == "openshift" and ocp4|bool and not balancer_members is defined and env == "staging" '
|
||||
when: 'targettype == "openshift" and ocp4|bool and balancer_members is not defined and env == "staging" '
|
||||
tags:
|
||||
- httpd
|
||||
- httpd/reverseproxy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue