feat: add test with many ansible version
This commit is contained in:
parent
f389f6afdc
commit
43892ea54f
3 changed files with 10 additions and 1 deletions
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -2,6 +2,11 @@ require 'serverspec'
|
|||
|
||||
set :backend, :exec
|
||||
|
||||
puts
|
||||
puts "================================"
|
||||
puts %x(ansible --version)
|
||||
puts "================================"
|
||||
|
||||
%w[
|
||||
bind9
|
||||
cron
|
||||
|
|
Loading…
Reference in a new issue