mirror of
https://github.com/dev-sec/ansible-nginx-hardening.git
synced 2024-11-22 19:42:02 +01:00
15b8ec2228
Closes: #26 Signed-off-by: Moritz Schlarb <moschlar@metalabs.de>
64 lines
1.3 KiB
YAML
64 lines
1.3 KiB
YAML
---
|
|
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-nginx-hardening/
|
|
requirements_path: requirements.yml
|
|
playbook: default.yml
|
|
http_proxy: <%= ENV['http_proxy'] || nil %>
|
|
https_proxy: <%= ENV['https_proxy'] || nil %>
|
|
|
|
transport:
|
|
max_ssh_sessions: 5
|
|
|
|
platforms:
|
|
- name: ubuntu-16.04
|
|
driver_config:
|
|
box: bento/ubuntu-16.04
|
|
- name: ubuntu-18.04
|
|
driver_config:
|
|
box: bento/ubuntu-18.04
|
|
- name: centos-6
|
|
driver_config:
|
|
box: bento/centos-6
|
|
- name: centos-7
|
|
driver_config:
|
|
box: bento/centos-7
|
|
- name: oracle-6
|
|
driver_config:
|
|
box: bento/oracle-6
|
|
- name: oracle-7
|
|
driver_config:
|
|
box: bento/oracle-7
|
|
- name: debian-9
|
|
driver_config:
|
|
box: bento/debian-9
|
|
- name: debian-10
|
|
driver_config:
|
|
box: bento/debian-10
|
|
- name: amazon
|
|
driver_config:
|
|
box: bento/amazonlinux-2
|
|
|
|
verifier:
|
|
name: inspec
|
|
sudo: true
|
|
inspec_tests:
|
|
- https://github.com/dev-sec/nginx-baseline/
|
|
|
|
suites:
|
|
- name: nginx
|