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
- add debian11 support
- add IPs lists
### Changed

View file

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

View file

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

View file

@ -52,3 +52,8 @@
server:
- 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
pre_tasks:
- name: update apt cache
ansible.builtin.apt:
update_cache: true

View file

@ -10,6 +10,14 @@ platforms:
command: /bin/systemd
capabilities:
- 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: |
set -e
yamllint .