diff --git a/CHANGELOG.md b/CHANGELOG.md index 7ddca00..5f44392 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/README.md b/README.md index b319cb9..c5550ed 100644 --- a/README.md +++ b/README.md @@ -7,8 +7,10 @@ Install and configure Keepalived ## Requirements -* Ansible >= 2.7 -* Debian Stretch and Buster +* Ansible >= 2.9 +* Debian + * Buster + * Bullseye ## Role variables diff --git a/meta/main.yml b/meta/main.yml index d9de935..54288f2 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -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 diff --git a/molecule/default/converge.yml b/molecule/default/converge.yml index ad561b8..cab65dd 100644 --- a/molecule/default/converge.yml +++ b/molecule/default/converge.yml @@ -25,3 +25,8 @@ - hello notify: master: /bin/true + + pre_tasks: + - name: update apt cache + ansible.builtin.apt: + update_cache: true diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml index cd99616..0507c53 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -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