mirror of
https://github.com/dev-sec/ansible-collection-hardening
synced 2024-11-10 09:14:18 +00:00
update testing method
use default.yml in repo for testing consolidate kitchen vars
This commit is contained in:
parent
7746eca682
commit
b5f4bac9bd
3 changed files with 10 additions and 12 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -11,4 +11,3 @@ Berksfile.lock
|
||||||
|
|
||||||
ansible.cfg
|
ansible.cfg
|
||||||
hosts
|
hosts
|
||||||
default.yml
|
|
||||||
|
|
16
.kitchen.yml
16
.kitchen.yml
|
@ -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
5
default.yml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
- name: wrapper playbook for kitchen testing "ansible-os-hardening"
|
||||||
|
hosts: localhost
|
||||||
|
roles:
|
||||||
|
- ansible-os-hardening
|
Loading…
Reference in a new issue