Add Debian Bullseye (11) support
parent
6e5fce00e7
commit
bdddb06fcc
|
@ -21,17 +21,19 @@ Features:
|
||||||
Supported OS:
|
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 | Yes |
|
||||||
| Debian Buster (10) | Yes | No |
|
| Debian Buster (10) | Yes | Yes |
|
||||||
|
| Debian Bullseye (11) | Yes | Yes |
|
||||||
| FreeBSD 11 | Yes | No |
|
| FreeBSD 11 | Yes | No |
|
||||||
| FreeBSD 12 | Yes | No |
|
| FreeBSD 12 | Yes | No |
|
||||||
|
|
||||||
Requirements
|
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
|
Role Variables
|
||||||
--------------
|
--------------
|
||||||
|
@ -99,7 +101,6 @@ Note
|
||||||
|
|
||||||
- Active support for Debian.
|
- 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).
|
- 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
|
Dependencies
|
||||||
------------
|
------------
|
||||||
|
|
|
@ -7,7 +7,8 @@ Vagrant.configure("2") do |config|
|
||||||
|
|
||||||
vms_debian = [
|
vms_debian = [
|
||||||
{ :name => "debian-stretch", :box => "debian/stretch64", :vars => {} },
|
{ :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 = [
|
vms_freebsd = [
|
||||||
|
@ -18,6 +19,7 @@ Vagrant.configure("2") do |config|
|
||||||
conts = [
|
conts = [
|
||||||
{ :name => "docker-debian-stretch", :docker => "hanxhx/vagrant-ansible:debian9", :vars => {} },
|
{ :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 => {} },
|
||||||
]
|
]
|
||||||
|
|
||||||
config.vm.network "private_network", type: "dhcp"
|
config.vm.network "private_network", type: "dhcp"
|
||||||
|
@ -30,6 +32,11 @@ Vagrant.configure("2") do |config|
|
||||||
d.remains_running = true
|
d.remains_running = true
|
||||||
d.has_ssh = true
|
d.has_ssh = true
|
||||||
end
|
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|
|
m.vm.provision "ansible" do |ansible|
|
||||||
ansible.playbook = "tests/test.yml"
|
ansible.playbook = "tests/test.yml"
|
||||||
ansible.verbose = 'vv'
|
ansible.verbose = 'vv'
|
||||||
|
@ -46,6 +53,11 @@ Vagrant.configure("2") do |config|
|
||||||
v.cpus = 1
|
v.cpus = 1
|
||||||
v.memory = 256
|
v.memory = 256
|
||||||
end
|
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|
|
m.vm.provision "ansible" do |ansible|
|
||||||
ansible.playbook = "tests/test.yml"
|
ansible.playbook = "tests/test.yml"
|
||||||
ansible.verbose = 'vv'
|
ansible.verbose = 'vv'
|
||||||
|
|
|
@ -4,12 +4,13 @@ galaxy_info:
|
||||||
description: Nginx for Debian / FreeBSD
|
description: Nginx for Debian / FreeBSD
|
||||||
company:
|
company:
|
||||||
license: GPLv2
|
license: GPLv2
|
||||||
min_ansible_version: 2.6
|
min_ansible_version: 2.11
|
||||||
platforms:
|
platforms:
|
||||||
- name: Debian
|
- name: Debian
|
||||||
versions:
|
versions:
|
||||||
- stretch
|
- stretch
|
||||||
- buster
|
- buster
|
||||||
|
- bullseye
|
||||||
- name: FreeBSD
|
- name: FreeBSD
|
||||||
versions:
|
versions:
|
||||||
- 11.0
|
- 11.0
|
||||||
|
@ -17,6 +18,7 @@ galaxy_info:
|
||||||
- 12.0
|
- 12.0
|
||||||
galaxy_tags:
|
galaxy_tags:
|
||||||
- web
|
- web
|
||||||
|
- debian
|
||||||
- proxy
|
- proxy
|
||||||
- http
|
- http
|
||||||
- http2
|
- http2
|
||||||
|
|
Loading…
Reference in New Issue