parent
26543001f3
commit
55e075ac2b
|
@ -4,7 +4,6 @@ env:
|
||||||
global:
|
global:
|
||||||
- VAGRANT_VERSION='2.2.18'
|
- VAGRANT_VERSION='2.2.18'
|
||||||
jobs:
|
jobs:
|
||||||
- PLATFORM='docker-debian-stretch' ANSIBLE_VERSION='>=2.11,<2.12'
|
|
||||||
- PLATFORM='docker-debian-bullseye' ANSIBLE_VERSION='>=2.11,<2.12'
|
- PLATFORM='docker-debian-bullseye' ANSIBLE_VERSION='>=2.11,<2.12'
|
||||||
- PLATFORM='docker-debian-buster' ANSIBLE_VERSION='>=2.11,<2.12'
|
- PLATFORM='docker-debian-buster' ANSIBLE_VERSION='>=2.11,<2.12'
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ Supported OS:
|
||||||
| OS | Working | Stable (active support) |
|
| OS | Working | Stable (active support) |
|
||||||
| -------------------- | ------- | ----------------------- |
|
| -------------------- | ------- | ----------------------- |
|
||||||
| Debian Jessie (8) | Yes | Check latest supported version ([1.5.0](https://github.com/HanXHX/ansible-nginx/releases/tag/1.5.0)) |
|
| Debian Jessie (8) | Yes | Check latest supported version ([1.5.0](https://github.com/HanXHX/ansible-nginx/releases/tag/1.5.0)) |
|
||||||
| Debian Stretch (9) | Yes | Yes |
|
| Debian Stretch (9) | Yes | Check latest supported version ([1.9.0](https://github.com/HanXHX/ansible-nginx/releases/tag/1.9.0)) |
|
||||||
| Debian Buster (10) | Yes | Yes |
|
| Debian Buster (10) | Yes | Yes |
|
||||||
| Debian Bullseye (11) | Yes | Yes |
|
| Debian Bullseye (11) | Yes | Yes |
|
||||||
| FreeBSD 11 | Yes | No |
|
| FreeBSD 11 | Yes | No |
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
Vagrant.configure("2") do |config|
|
Vagrant.configure("2") do |config|
|
||||||
|
|
||||||
vms_debian = [
|
vms_debian = [
|
||||||
{ :name => "debian-stretch", :box => "debian/stretch64", :vars => {} },
|
|
||||||
{ :name => "debian-buster", :box => "debian/buster64", :vars => {} },
|
{ :name => "debian-buster", :box => "debian/buster64", :vars => {} },
|
||||||
{ :name => "debian-bullseye", :box => "debian/bullseye64", :vars => {} }
|
{ :name => "debian-bullseye", :box => "debian/bullseye64", :vars => {} }
|
||||||
]
|
]
|
||||||
|
@ -17,7 +16,6 @@ Vagrant.configure("2") do |config|
|
||||||
]
|
]
|
||||||
|
|
||||||
conts = [
|
conts = [
|
||||||
{ :name => "docker-debian-stretch", :docker => "hanxhx/vagrant-ansible:debian9", :vars => {} },
|
|
||||||
{ :name => "docker-debian-buster", :docker => "hanxhx/vagrant-ansible:debian10", :vars => {} },
|
{ :name => "docker-debian-buster", :docker => "hanxhx/vagrant-ansible:debian10", :vars => {} },
|
||||||
{ :name => "docker-debian-bullseye", :docker => "hanxhx/vagrant-ansible:debian11", :vars => {} },
|
{ :name => "docker-debian-bullseye", :docker => "hanxhx/vagrant-ansible:debian11", :vars => {} },
|
||||||
]
|
]
|
||||||
|
|
|
@ -11,7 +11,6 @@ galaxy_info:
|
||||||
platforms:
|
platforms:
|
||||||
- name: Debian
|
- name: Debian
|
||||||
versions:
|
versions:
|
||||||
- stretch
|
|
||||||
- buster
|
- buster
|
||||||
- bullseye
|
- bullseye
|
||||||
- name: FreeBSD
|
- name: FreeBSD
|
||||||
|
|
|
@ -239,25 +239,20 @@
|
||||||
|
|
||||||
# --------------------------------
|
# --------------------------------
|
||||||
# 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
|
||||||
|
ansible.builtin.shell: set -o pipefail && curl -I --haproxy-protocol http://test-ssl-proxy-protocol.local:20080 | grep -qi 'X-Proxy-Protocol'
|
||||||
|
args:
|
||||||
|
executable: /bin/bash
|
||||||
|
warn: false
|
||||||
|
changed_when: false
|
||||||
|
|
||||||
- name: SHELL | Check HTTP proxy protocol
|
- name: SHELL | Check HTTPS 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 -k https://test-ssl-proxy-protocol.local:20443 | grep -qi 'X-Proxy-Protocol'
|
||||||
args:
|
args:
|
||||||
executable: /bin/bash
|
executable: /bin/bash
|
||||||
warn: false
|
warn: false
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
||||||
- name: SHELL | Check HTTPS proxy protocol
|
|
||||||
ansible.builtin.shell: set -o pipefail && curl -I --haproxy-protocol -k https://test-ssl-proxy-protocol.local:20443 | grep -qi 'X-Proxy-Protocol'
|
|
||||||
args:
|
|
||||||
executable: /bin/bash
|
|
||||||
warn: false
|
|
||||||
changed_when: false
|
|
||||||
|
|
||||||
when: not (ansible_distribution == 'Debian' and ansible_distribution_major_version is version('9', 'eq'))
|
|
||||||
|
|
||||||
# --------------------------------
|
# --------------------------------
|
||||||
# Check HTTP2
|
# Check HTTP2
|
||||||
|
|
Loading…
Reference in New Issue