mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-03-14 10:32:10 +07:00
Skip tests on proxy protocol on Debian Stretch
This commit is contained in:
@@ -522,6 +522,11 @@
|
|||||||
# --------------------------------
|
# --------------------------------
|
||||||
# Check Proxy protocol
|
# Check Proxy protocol
|
||||||
# --------------------------------
|
# --------------------------------
|
||||||
|
|
||||||
|
# Note: Debian Stretch doesn't any version of curl with "--haproxy-protocol" argument
|
||||||
|
|
||||||
|
- block:
|
||||||
|
|
||||||
- name: SHELL | Check HTTP proxy protocol
|
- name: SHELL | Check HTTP proxy protocol
|
||||||
shell: curl -I --haproxy-protocol http://test-ssl-proxy-protocol.local:20080 | grep -qi 'X-Proxy-Protocol'
|
shell: curl -I --haproxy-protocol http://test-ssl-proxy-protocol.local:20080 | grep -qi 'X-Proxy-Protocol'
|
||||||
args:
|
args:
|
||||||
@@ -540,6 +545,8 @@
|
|||||||
tags:
|
tags:
|
||||||
- skip_ansible_lint
|
- skip_ansible_lint
|
||||||
|
|
||||||
|
when: not (ansible_distribution == 'Debian' and ansible_distribution_major_version is version('9', 'eq'))
|
||||||
|
|
||||||
# --------------------------------
|
# --------------------------------
|
||||||
# Check HTTP2
|
# Check HTTP2
|
||||||
# --------------------------------
|
# --------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user