Add Debian Bullseye (11) support

debian_11
Emilien Mantel 2021-09-01 11:07:54 +02:00
parent 6e5fce00e7
commit bdddb06fcc
3 changed files with 27 additions and 12 deletions

View File

@ -21,17 +21,19 @@ Features:
Supported OS:
| 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 Stretch (9) | Yes | Yes |
| Debian Buster (10) | Yes | No |
| Debian Buster (10) | Yes | Yes |
| Debian Bullseye (11) | Yes | Yes |
| FreeBSD 11 | Yes | No |
| FreeBSD 12 | Yes | No |
Requirements
------------
Ansible 2.6+. If you set true to `nginx_backports`, you must install backports repository before lauching this role.
- Ansible >=2.11
- If you set true to `nginx_backports`, you must install backports repository before lauching this role.
Role Variables
--------------
@ -99,7 +101,6 @@ Note
- Active support for Debian.
- FreeBSD support is experimental (no Travis). I only test (for the moment) 10.2 (but it can work on other versions).
- I don't manage BackupPC for FreeBSD (PR welcome).
Dependencies
------------

14
Vagrantfile vendored
View File

@ -7,7 +7,8 @@ Vagrant.configure("2") do |config|
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 => {} }
]
vms_freebsd = [
@ -18,6 +19,7 @@ Vagrant.configure("2") do |config|
conts = [
{ :name => "docker-debian-stretch", :docker => "hanxhx/vagrant-ansible:debian9", :vars => {} },
{ :name => "docker-debian-buster", :docker => "hanxhx/vagrant-ansible:debian10", :vars => {} },
{ :name => "docker-debian-bullseye", :docker => "hanxhx/vagrant-ansible:debian11", :vars => {} },
]
config.vm.network "private_network", type: "dhcp"
@ -30,6 +32,11 @@ Vagrant.configure("2") do |config|
d.remains_running = true
d.has_ssh = true
end
if opts[:name].include? "bullseye"
m.vm.provision "shell", inline: "[ -f '/root/first_provision' ] || (apt-get update -qq && apt-get -y dist-upgrade && touch /root/first_provision)"
end
m.vm.provision "ansible" do |ansible|
ansible.playbook = "tests/test.yml"
ansible.verbose = 'vv'
@ -46,6 +53,11 @@ Vagrant.configure("2") do |config|
v.cpus = 1
v.memory = 256
end
if opts[:name].include? "bullseye"
m.vm.provision "shell", inline: "[ -f '/root/first_provision' ] || (apt-get update -qq && apt-get -y dist-upgrade && touch /root/first_provision)"
end
m.vm.provision "ansible" do |ansible|
ansible.playbook = "tests/test.yml"
ansible.verbose = 'vv'

View File

@ -4,12 +4,13 @@ galaxy_info:
description: Nginx for Debian / FreeBSD
company:
license: GPLv2
min_ansible_version: 2.6
min_ansible_version: 2.11
platforms:
- name: Debian
versions:
- stretch
- buster
- bullseye
- name: FreeBSD
versions:
- 11.0
@ -17,6 +18,7 @@ galaxy_info:
- 12.0
galaxy_tags:
- web
- debian
- proxy
- http
- http2