feat: add debian 11 support

This commit is contained in:
Adrien Waksberg 2021-08-15 12:36:58 +02:00 committed by Adrien Waksberg
parent f5bbbb40e8
commit 4f486e69fe
5 changed files with 21 additions and 3 deletions

View file

@ -7,6 +7,7 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
### Added ### Added
- add debian11 support
- add IPs lists - add IPs lists
### Changed ### Changed

View file

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

View file

@ -1,16 +1,18 @@
--- ---
galaxy_info: galaxy_info:
role_name: haproxy
author: Adrien Waksberg author: Adrien Waksberg
description: Install and configure Haproxy description: Install and configure Haproxy
company: Adrien Waksberg company: Adrien Waksberg
license: Apache2 license: Apache2
min_ansible_version: 2.8 min_ansible_version: 2.9
platforms: platforms:
- name: Debian - name: Debian
versions: versions:
- 10 - 10
- 11
galaxy_tags: galaxy_tags:
- haproxy - haproxy

View file

@ -52,3 +52,8 @@
server: server:
- host1 127.0.0.1:443 ssl verify none check maxconn 1000 inter 15s - host1 127.0.0.1:443 ssl verify none check maxconn 1000 inter 15s
- host2 127.0.0.1:443 ssl verify none check maxconn 1000 inter 15s - host2 127.0.0.1:443 ssl verify none check maxconn 1000 inter 15s
pre_tasks:
- name: update apt cache
ansible.builtin.apt:
update_cache: true

View file

@ -10,6 +10,14 @@ platforms:
command: /bin/systemd command: /bin/systemd
capabilities: capabilities:
- SYS_ADMIN - SYS_ADMIN
- name: debian11
image: nishiki/debian11:molecule
privileged: true
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
command: /bin/systemd
capabilities:
- SYS_ADMIN
lint: | lint: |
set -e set -e
yamllint . yamllint .