feat: add debian 11 support
This commit is contained in:
parent
f5bbbb40e8
commit
4f486e69fe
5 changed files with 21 additions and 3 deletions
|
@ -7,6 +7,7 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
|
|||
|
||||
### Added
|
||||
|
||||
- add debian11 support
|
||||
- add IPs lists
|
||||
|
||||
### Changed
|
||||
|
|
|
@ -7,8 +7,10 @@ Install and configure haproxy
|
|||
|
||||
## Requirements
|
||||
|
||||
* Ansible >= 2.8
|
||||
* Debian Buster
|
||||
* Ansible >= 2.9
|
||||
* Debian
|
||||
* Buster
|
||||
* Bullseye
|
||||
|
||||
## Role variables
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 .
|
||||
|
|
Loading…
Reference in a new issue