forked from simp/inspec-profile-disa_stig-el7
-
Notifications
You must be signed in to change notification settings - Fork 14
/
kitchen.yml
42 lines (37 loc) · 974 Bytes
/
kitchen.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
transport:
name: ssh
max_ssh_sessions: 2
verifier:
name: inspec
sudo: true
reporter:
- cli
- json:spec/results/%{platform}_%{suite}.json
inspec_tests:
- name: RedHat Enterprise Linux 7 STIG
path: .
load_plugins: true
provisioner:
name: ansible_playbook
hosts: all
require_chef_for_busser: false
require_ruby_for_busser: false
require_pip3: true
ansible_binary_path: /usr/local/bin
ansible_verbose: true
roles_path: spec/ansible/roles
galaxy_ignore_certs: true
ansible_extra_flags: <%= ENV['ANSIBLE_EXTRA_FLAGS'] %>
requirements_path: spec/ansible/roles/requirements.yml
env_vars:
- ANSIBLE_LOCAL_TEMP=$HOME/.ansible/tmp
- ANSIBLE_REMOTE_TEMP=$HOME/.ansible/tmp
platforms:
- name: rhel-7
suites:
- name: vanilla
provisioner:
playbook: spec/ansible/roles/ansible-role-rhel-vanilla.yml
- name: hardened
provisioner:
playbook: spec/ansible/roles/ansible-role-rhel-hardened.yml