feat: add support debian 11

This commit is contained in:
Adrien Waksberg 2021-08-18 18:42:28 +02:00
parent 9190259504
commit ae6455dd8f
5 changed files with 25 additions and 5 deletions

View file

@ -7,6 +7,7 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
### Added
- support debian 11
- support debian 10 and ansible 2.9
### Changed
@ -14,6 +15,10 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
- test: replace kitchen to molecule
- chore: use FQCN for module name
### Removed
- support debian 9
## [1.0.0] 2019-04-12
- first version

View file

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

View file

@ -5,13 +5,13 @@ galaxy_info:
company: Adrien Waksberg
description: Install and configure keepalived
license: Apache2
min_ansible_version: 2.7
min_ansible_version: 2.9
platforms:
- name: Debian
versions:
- stretch
- buster
- bullseye
galaxy_tags:
- ipfailover

View file

@ -25,3 +25,8 @@
- hello
notify:
master: /bin/true
pre_tasks:
- name: update apt cache
ansible.builtin.apt:
update_cache: true

View file

@ -10,9 +10,17 @@ 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 .
ansible-lint
ansible-lint .
verifier:
name: testinfra