diff --git a/.kitchen.yml b/.kitchen.yml index 90caff8..de84ef8 100644 --- a/.kitchen.yml +++ b/.kitchen.yml @@ -8,16 +8,15 @@ provisioner: name: ansible_playbook hosts: localhost require_ansible_repo: false - require_ansible_omnibus: true + require_ansible_omnibus: false require_chef_for_busser: true ansible_verbose: false - ansible_version: <% if ENV['ANSIBLE_VERSION'] %><%= ENV['ANSIBLE_VERSION'] %><% else %><%= '2.4.4.0' %><% end %> ansible_inventory: ./test/integration/inventory platforms: - name: debian-9 driver_config: - image: nishiki/ansible:stretch + image: nishiki/debian9:ansible-<%= ENV['ANSIBLE_VERSION'] ? ENV['ANSIBLE_VERSION'] : '2.6' %> command: /bin/systemd volume: - /sys/fs/cgroup:/sys/fs/cgroup:ro diff --git a/.travis.yml b/.travis.yml index 477f615..a138505 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,11 +2,9 @@ sudo: required language: ruby env: - - ANSIBLE_VERSION=2.2.3.0 - - ANSIBLE_VERSION=2.3.3.0 - - ANSIBLE_VERSION=2.4.6.0 - - ANSIBLE_VERSION=2.5.7.0 - - ANSIBLE_VERSION=2.6.2.0 + - ANSIBLE_VERSION=2.4 + - ANSIBLE_VERSION=2.5 + - ANSIBLE_VERSION=2.6 services: - docker diff --git a/README.md b/README.md index 548a31e..5665cab 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Install and configure Fail2ban ## Requirements -* Ansible >= 2.2 +* Ansible >= 2.4 * Debian Stretch ## Role variables diff --git a/meta/main.yml b/meta/main.yml index 109bb45..ecb033f 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -3,7 +3,7 @@ galaxy_info: author: Adrien Waksberg description: Install and configure fail2ban license: Apache2 - min_ansible_version: 2.2 + min_ansible_version: 2.4 platforms: - name: Debian