mirror of
https://github.com/dev-sec/ansible-collection-hardening
synced 2024-11-14 02:47:06 +00:00
remove thorfile, add sudo false, cleanup kitchen.yml
This commit is contained in:
parent
accdeecde4
commit
d7088cdeb6
2 changed files with 6 additions and 18 deletions
14
.kitchen.yml
14
.kitchen.yml
|
@ -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
|
||||
|
|
10
Thorfile
10
Thorfile
|
@ -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
|
Loading…
Reference in a new issue