feat: add test with many ansible version

This commit is contained in:
Adrien Waksberg 2017-10-23 23:59:41 +02:00
parent f389f6afdc
commit 43892ea54f
3 changed files with 10 additions and 1 deletions

View file

@ -11,7 +11,7 @@ provisioner:
require_ansible_omnibus: true
require_chef_for_busser: true
ansible_verbose: false
ansible_version: latest
ansible_version: <% if ENV['ANSIBLE_VERSION'] %><%= ENV['ANSIBLE_VERSION'] %><% else %><%= '2.2.3.0' %><% end %>
ansible_inventory: ./test/integration/inventory
platforms:

View file

@ -1,6 +1,10 @@
sudo: required
language: ruby
env:
- ANSIBLE_VERSION=2.2.3.0
- ANSIBLE_VERSION=2.3.2.0
- ANSIBLE_VERSION=2.4.0.0
services:
- docker

View file

@ -2,6 +2,11 @@ require 'serverspec'
set :backend, :exec
puts
puts "================================"
puts %x(ansible --version)
puts "================================"
%w[
bind9
cron