Gemfile spec for ansible kitchen

This commit is contained in:
Dale McDiarmid 2016-03-18 21:42:32 +00:00
parent ed8ca6f271
commit 25e5620fb7
2 changed files with 4 additions and 9 deletions

View file

@ -8,9 +8,9 @@ provisioner:
roles_path: ../ roles_path: ../
require_ansible_repo: true require_ansible_repo: true
ansible_verbose: true ansible_verbose: true
#http_proxy: <%= ENV['HTTP_PROXY'] %> http_proxy: <%= ENV['HTTP_PROXY'] %>
#https_proxy: <%= ENV['HTTPS_PROXY'] %> https_proxy: <%= ENV['HTTPS_PROXY'] %>
#no_proxy: localhost,127.0.0.1 no_proxy: localhost,127.0.0.1
platforms: platforms:
- name: ubuntu-14.04 - name: ubuntu-14.04
@ -21,7 +21,6 @@ platforms:
- apt-get update && apt-get install -y software-properties-common && add-apt-repository -y ppa:ansible/ansible - apt-get update && apt-get install -y software-properties-common && add-apt-repository -y ppa:ansible/ansible
- apt-get update && apt-get -y -q install ansible python-apt python-pycurl - apt-get update && apt-get -y -q install ansible python-apt python-pycurl
use_sudo: false use_sudo: false
ansible_platform: ubuntu
- name: debian-7 - name: debian-7
driver_config: driver_config:
image: electrical/debian:7.3 image: electrical/debian:7.3
@ -32,7 +31,6 @@ platforms:
- apt-get install -y -q ansible - apt-get install -y -q ansible
- apt-get install -y -q net-tools - apt-get install -y -q net-tools
use_sudo: false use_sudo: false
ansible_platform: debian
- name: debian-8 - name: debian-8
driver_config: driver_config:
image: electrical/debian:8 image: electrical/debian:8
@ -46,13 +44,11 @@ platforms:
- sed -ri 's/^#?UsePAM .*/UsePAM no/' /etc/ssh/sshd_config - sed -ri 's/^#?UsePAM .*/UsePAM no/' /etc/ssh/sshd_config
use_sudo: false use_sudo: false
run_command: "/sbin/init" run_command: "/sbin/init"
ansible_platform: debian
- name: centos-6 - name: centos-6
driver_config: driver_config:
image: electrical/centos:6.4-1 image: electrical/centos:6.4-1
privileged: true privileged: true
use_sudo: false use_sudo: false
ansible_platform: centos
- name: centos-7 - name: centos-7
driver_config: driver_config:
image: electrical/centos:7 image: electrical/centos:7
@ -65,7 +61,6 @@ platforms:
run_command: "/usr/sbin/init" run_command: "/usr/sbin/init"
privileged: true privileged: true
use_sudo: false use_sudo: false
ansible_platform: centos
suites: suites:
- name: standard-2x - name: standard-2x

View file

@ -2,5 +2,5 @@ source 'https://rubygems.org'
gem 'test-kitchen' gem 'test-kitchen'
gem "kitchen-docker", '< 2.2.0' gem "kitchen-docker", '< 2.2.0'
gem 'kitchen-ansible' gem 'kitchen-ansible', '0.0.38'
gem 'net-ssh', '~> 2.0' gem 'net-ssh', '~> 2.0'