parent
0fd16bdd1e
commit
c9e1aa2848
|
@ -240,6 +240,9 @@
|
||||||
# --------------------------------
|
# --------------------------------
|
||||||
# Check Proxy protocol
|
# Check Proxy protocol
|
||||||
# --------------------------------
|
# --------------------------------
|
||||||
|
- name: BLOCK - Check proxy protocol
|
||||||
|
when: not (ansible_distribution == 'Ubuntu' and ansible_distribution_major_version | int == 18)
|
||||||
|
block:
|
||||||
- name: SHELL | Check HTTP proxy protocol
|
- name: SHELL | Check HTTP proxy protocol
|
||||||
ansible.builtin.shell: set -o pipefail && curl -I --haproxy-protocol http://test-ssl-proxy-protocol.local:20080 | grep -qi 'X-Proxy-Protocol'
|
ansible.builtin.shell: set -o pipefail && curl -I --haproxy-protocol http://test-ssl-proxy-protocol.local:20080 | grep -qi 'X-Proxy-Protocol'
|
||||||
args:
|
args:
|
||||||
|
|
Loading…
Reference in New Issue