remove thorfile, add sudo false, cleanup kitchen.yml

This commit is contained in:
Sebastian Gumprich 2016-07-26 17:59:07 +02:00
parent accdeecde4
commit d7088cdeb6
2 changed files with 6 additions and 18 deletions

View file

@ -1,8 +1,12 @@
---
driver:
name: docker
use_sudo: false
privileged: true
transport:
max_ssh_sessions: 5
provisioner:
name: ansible_playbook
hosts: all
@ -16,14 +20,6 @@ provisioner:
roles_path: ../ansible-os-hardening/
playbook: default.yml
verifier:
name: inspec
sudo: true
inspec_tests:
- https://github.com/dev-sec/tests-os-hardening
ansible_extra_flags:
- "--skip-tags=sysctl"
platforms:
- name: ubuntu-12.04
driver:
@ -59,6 +55,8 @@ verifier:
sudo: true
inspec_tests:
- https://github.com/dev-sec/tests-os-hardening
ansible_extra_flags:
- "--skip-tags=sysctl"
suites:
- name: os_ansible_1.9

View file

@ -1,10 +0,0 @@
# encoding: utf-8
require 'bundler'
require 'bundler/setup'
require 'thor/foodcritic'
require 'kitchen_sharedtests'
require 'kitchen/sharedtests_thor_tasks'
Kitchen::SharedtestsThorTasks.new