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

View file

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

View file

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

View file

@ -25,3 +25,8 @@
- hello - hello
notify: notify:
master: /bin/true 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 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 .
ansible-lint ansible-lint .
verifier: verifier:
name: testinfra name: testinfra