update testing method

use default.yml in repo for testing
consolidate kitchen vars
This commit is contained in:
Sebastian Gumprich 2016-05-22 20:06:29 +02:00
parent 7746eca682
commit b5f4bac9bd
3 changed files with 10 additions and 12 deletions

1
.gitignore vendored
View file

@ -11,4 +11,3 @@ Berksfile.lock
ansible.cfg ansible.cfg
hosts hosts
default.yml

View file

@ -9,6 +9,11 @@ provisioner:
require_ansible_omnibus: true require_ansible_omnibus: true
require_chef_for_busser: false require_chef_for_busser: false
require_ruby_for_busser: false require_ruby_for_busser: false
ansible_verbose: true
ansible_diff: true
roles_path: ../ansible-os-hardening/
playboo: default.yml
platforms: platforms:
- name: ubuntu-12.04 - name: ubuntu-12.04
driver_config: driver_config:
@ -50,17 +55,6 @@ verifier:
name: inspec name: inspec
suites: suites:
- name: ansible_1.9 - name: ansible_1.9
hosts: all
ansible_verbose: true
ansible_diff: true
roles_path: ../ansible-os-hardening/
provisioner: provisioner:
playbook: test/integration/playbooks/default.yml
ansible_version: 1.9.4 ansible_version: 1.9.4
- name: ansible_latest - name: ansible_latest
hosts: all
ansible_verbose: true
ansible_diff: true
roles_path: ../ansible-os-hardening/
provisioner:
playbook: test/integration/playbooks/default.yml

5
default.yml Normal file
View file

@ -0,0 +1,5 @@
---
- name: wrapper playbook for kitchen testing "ansible-os-hardening"
hosts: localhost
roles:
- ansible-os-hardening