public-health-ch/ansible/roles/dev-sec.os-hardening/.kitchen.vagrant.yml

80 lines
1.6 KiB
YAML
Raw Permalink Normal View History

2017-04-24 12:22:51 +00:00
---
driver:
name: vagrant
driver_config:
http_proxy: <%= ENV['http_proxy'] || nil %>
https_proxy: <%= ENV['https_proxy'] || nil %>
vagrantfiles:
- kitchen_vagrant_block.rb
provisioner:
name: ansible_playbook
hosts: all
require_ansible_repo: false
require_ansible_omnibus: true
require_chef_for_busser: false
require_ruby_for_busser: false
ansible_verbose: true
roles_path: ../ansible-os-hardening/
2020-05-15 20:41:39 +00:00
playbook: tests/test.yml
2017-04-24 12:22:51 +00:00
http_proxy: <%= ENV['http_proxy'] || nil %>
https_proxy: <%= ENV['https_proxy'] || nil %>
transport:
2020-05-15 20:41:39 +00:00
max_ssh_sessions: 1
2017-04-24 12:22:51 +00:00
platforms:
2020-05-15 20:41:39 +00:00
- name: ubuntu-16.04
2017-04-24 12:22:51 +00:00
driver_config:
2020-05-15 20:41:39 +00:00
box: bento/ubuntu-16.04
- name: ubuntu-18.04
2017-04-24 12:22:51 +00:00
driver_config:
2020-05-15 20:41:39 +00:00
box: bento/ubuntu-18.04
- name: centos-6
2017-04-24 12:22:51 +00:00
driver_config:
2020-05-15 20:41:39 +00:00
box: bento/centos-6.7
2021-02-18 15:40:18 +00:00
provision: true
vagrantfiles:
- rhel6_provision.rb
2020-05-15 20:41:39 +00:00
- name: centos-7
2017-04-24 12:22:51 +00:00
driver_config:
2020-05-15 20:41:39 +00:00
box: bento/centos-7
- name: centos-8
2017-04-24 12:22:51 +00:00
driver_config:
2020-05-15 20:41:39 +00:00
box: bento/centos-8
- name: oracle-6
2017-04-24 12:22:51 +00:00
driver_config:
2020-05-15 20:41:39 +00:00
box: bento/oracle-6
2021-02-18 15:40:18 +00:00
provision: true
vagrantfiles:
- rhel6_provision.rb
2020-05-15 20:41:39 +00:00
- name: oracle-7
2017-04-24 12:22:51 +00:00
driver_config:
2020-05-15 20:41:39 +00:00
box: bento/oracle-7
- name: debian-9
2018-12-17 12:50:15 +00:00
driver_config:
2020-05-15 20:41:39 +00:00
box: bento/debian-9
- name: debian-10
2017-04-24 12:22:51 +00:00
driver_config:
2020-05-15 20:41:39 +00:00
box: bento/debian-10
- name: amazon
2017-04-24 12:22:51 +00:00
driver_config:
2020-05-15 20:41:39 +00:00
box: bento/amazonlinux-2
- name: opensuse_tumbleweed
driver_config:
box: opensuse/Tumbleweed.x86_64
2021-02-18 15:40:18 +00:00
provision: true
vagrantfiles:
- suse_provision.rb
provisioner:
ansible_binary_path: "/usr/local/bin"
2017-04-24 12:22:51 +00:00
verifier:
name: inspec
sudo: true
inspec_tests:
- https://github.com/dev-sec/linux-baseline/
suites:
- name: os