Drop Debian Stretch support

feature/add_main_opts 1.9.1
Emilien Mantel 2021-09-10 17:05:53 +02:00
parent 26543001f3
commit 55e075ac2b
5 changed files with 13 additions and 22 deletions

View File

@ -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'

View File

@ -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 |

2
Vagrantfile vendored
View File

@ -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 => {} },
] ]

View File

@ -11,7 +11,6 @@ galaxy_info:
platforms: platforms:
- name: Debian - name: Debian
versions: versions:
- stretch
- buster - buster
- bullseye - bullseye
- name: FreeBSD - name: FreeBSD

View File

@ -239,10 +239,7 @@
# -------------------------------- # --------------------------------
# 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
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:
@ -257,8 +254,6 @@
warn: false warn: false
changed_when: false changed_when: false
when: not (ansible_distribution == 'Debian' and ansible_distribution_major_version is version('9', 'eq'))
# -------------------------------- # --------------------------------
# Check HTTP2 # Check HTTP2
# -------------------------------- # --------------------------------