chore: use new docker image for the tests
This commit is contained in:
parent
52d459aec3
commit
665d9d0583
4 changed files with 7 additions and 10 deletions
|
@ -8,16 +8,15 @@ provisioner:
|
||||||
name: ansible_playbook
|
name: ansible_playbook
|
||||||
hosts: localhost
|
hosts: localhost
|
||||||
require_ansible_repo: false
|
require_ansible_repo: false
|
||||||
require_ansible_omnibus: true
|
require_ansible_omnibus: false
|
||||||
require_chef_for_busser: true
|
require_chef_for_busser: true
|
||||||
ansible_verbose: false
|
ansible_verbose: false
|
||||||
ansible_version: <% if ENV['ANSIBLE_VERSION'] %><%= ENV['ANSIBLE_VERSION'] %><% else %><%= '2.4.4.0' %><% end %>
|
|
||||||
ansible_inventory: ./test/integration/inventory
|
ansible_inventory: ./test/integration/inventory
|
||||||
|
|
||||||
platforms:
|
platforms:
|
||||||
- name: debian-9
|
- name: debian-9
|
||||||
driver_config:
|
driver_config:
|
||||||
image: nishiki/ansible:stretch
|
image: nishiki/debian9:ansible-<%= ENV['ANSIBLE_VERSION'] ? ENV['ANSIBLE_VERSION'] : '2.6' %>
|
||||||
command: /bin/systemd
|
command: /bin/systemd
|
||||||
volume:
|
volume:
|
||||||
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
||||||
|
|
|
@ -2,11 +2,9 @@ sudo: required
|
||||||
language: ruby
|
language: ruby
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- ANSIBLE_VERSION=2.2.3.0
|
- ANSIBLE_VERSION=2.4
|
||||||
- ANSIBLE_VERSION=2.3.3.0
|
- ANSIBLE_VERSION=2.5
|
||||||
- ANSIBLE_VERSION=2.4.6.0
|
- ANSIBLE_VERSION=2.6
|
||||||
- ANSIBLE_VERSION=2.5.7.0
|
|
||||||
- ANSIBLE_VERSION=2.6.2.0
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- docker
|
- docker
|
||||||
|
|
|
@ -7,7 +7,7 @@ Install and configure Fail2ban
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
* Ansible >= 2.2
|
* Ansible >= 2.4
|
||||||
* Debian Stretch
|
* Debian Stretch
|
||||||
|
|
||||||
## Role variables
|
## Role variables
|
||||||
|
|
|
@ -3,7 +3,7 @@ galaxy_info:
|
||||||
author: Adrien Waksberg
|
author: Adrien Waksberg
|
||||||
description: Install and configure fail2ban
|
description: Install and configure fail2ban
|
||||||
license: Apache2
|
license: Apache2
|
||||||
min_ansible_version: 2.2
|
min_ansible_version: 2.4
|
||||||
|
|
||||||
platforms:
|
platforms:
|
||||||
- name: Debian
|
- name: Debian
|
||||||
|
|
Loading…
Reference in a new issue