test: add support debian 12

This commit is contained in:
Adrien Waksberg 2023-07-25 15:03:34 +02:00
parent c43442b7a0
commit 9b7ee14b13
4 changed files with 16 additions and 14 deletions

View file

@ -10,6 +10,11 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
- add support alpn in bind option - add support alpn in bind option
- add error files - add error files
- use multiple ssl certificates on one frontend - use multiple ssl certificates on one frontend
- test: add support debian 12
### Removed
- test: remove support debian 10
## v1.1.0 - 2021-08-15 ## v1.1.0 - 2021-08-15

View file

@ -7,10 +7,10 @@ Install and configure haproxy
## Requirements ## Requirements
* Ansible >= 2.9 * Ansible >= 2.10
* Debian * Debian
* Buster
* Bullseye * Bullseye
* Bookworm
## Role variables ## Role variables

View file

@ -7,13 +7,13 @@ galaxy_info:
company: Adrien Waksberg company: Adrien Waksberg
license: Apache2 license: Apache2
min_ansible_version: 2.9 min_ansible_version: "2.10"
platforms: platforms:
- name: Debian - name: Debian
versions: versions:
- 10 - Bullseye
- 11 - Bookworm
galaxy_tags: galaxy_tags:
- haproxy - haproxy

View file

@ -2,11 +2,12 @@
driver: driver:
name: docker name: docker
platforms: platforms:
- name: debian10 - name: debian12
image: nishiki/debian10:molecule image: nishiki/debian12:molecule
privileged: true privileged: true
volumes: volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro - /sys/fs/cgroup:/sys/fs/cgroup:rw
cgroupns_mode: host
command: /bin/systemd command: /bin/systemd
capabilities: capabilities:
- SYS_ADMIN - SYS_ADMIN
@ -14,15 +15,11 @@ platforms:
image: nishiki/debian11:molecule image: nishiki/debian11:molecule
privileged: true privileged: true
volumes: volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro - /sys/fs/cgroup:/sys/fs/cgroup:rw
cgroupns_mode: host
command: /bin/systemd command: /bin/systemd
capabilities: capabilities:
- SYS_ADMIN - SYS_ADMIN
provisioner:
inventory:
host_vars:
debian10:
haproxy_apt_release: '{{ ansible_distribution_release }}-backports'
lint: | lint: |
set -e set -e
yamllint . yamllint .