Skip tests on proxy protocol on Debian Stretch

py3 1.8.0
Emilien Mantel 2019-12-31 13:16:42 +01:00
parent 0363a37e06
commit 5cdd1a8b37
1 changed files with 23 additions and 16 deletions

View File

@ -522,6 +522,11 @@
# --------------------------------
# Check Proxy protocol
# --------------------------------
# Note: Debian Stretch doesn't any version of curl with "--haproxy-protocol" argument
- block:
- name: SHELL | Check HTTP proxy protocol
shell: curl -I --haproxy-protocol http://test-ssl-proxy-protocol.local:20080 | grep -qi 'X-Proxy-Protocol'
args:
@ -540,6 +545,8 @@
tags:
- skip_ansible_lint
when: not (ansible_distribution == 'Debian' and ansible_distribution_major_version is version('9', 'eq'))
# --------------------------------
# Check HTTP2
# --------------------------------