mirror of
https://github.com/dev-sec/ansible-nginx-hardening.git
synced 2024-11-26 11:13:45 +01:00
77 lines
1.8 KiB
YAML
77 lines
1.8 KiB
YAML
---
|
|
driver:
|
|
name: docker
|
|
use_sudo: false
|
|
privileged: true
|
|
http_proxy: <%= ENV['http_proxy'] || nil %>
|
|
https_proxy: <%= ENV['https_proxy'] || nil %>
|
|
|
|
transport:
|
|
max_ssh_sessions: 5
|
|
|
|
provisioner:
|
|
name: ansible_playbook
|
|
hosts: all
|
|
require_ansible_repo: false
|
|
require_chef_for_busser: false
|
|
require_ruby_for_busser: false
|
|
ansible_verbose: true
|
|
ansible_diff: true
|
|
hosts: all
|
|
roles_path: ../ansible-nginx-hardening/
|
|
http_proxy: <%= ENV['http_proxy'] || nil %>
|
|
https_proxy: <%= ENV['https_proxy'] || nil %>
|
|
playbook: default.yml
|
|
requirements_path: requirements.yml
|
|
|
|
platforms:
|
|
- name: centos6-ansible-latest
|
|
driver:
|
|
image: rndmh3ro/docker-centos6-ansible:latest
|
|
platform: centos
|
|
- name: centos7-ansible-latest
|
|
driver:
|
|
image: rndmh3ro/docker-centos7-ansible:latest
|
|
platform: centos
|
|
- name: oracle6-ansible-latest
|
|
driver:
|
|
image: rndmh3ro/docker-oracle6-ansible:latest
|
|
platform: centos
|
|
- name: oracle7-ansible-latest
|
|
driver:
|
|
image: rndmh3ro/docker-oracle7-ansible:latest
|
|
platform: centos
|
|
- name: ubuntu1204-ansible-latest
|
|
driver:
|
|
image: rndmh3ro/docker-ubuntu1204-ansible:latest
|
|
platform: ubuntu
|
|
- name: ubuntu1404-ansible-latest
|
|
driver:
|
|
image: rndmh3ro/docker-ubuntu1404-ansible:latest
|
|
platform: ubuntu
|
|
- name: ubuntu1604-ansible-latest
|
|
driver:
|
|
image: rndmh3ro/docker-ubuntu1604-ansible:latest
|
|
platform: ubuntu
|
|
- name: debian7-ansible-latest
|
|
driver:
|
|
image: rndmh3ro/docker-debian7-ansible:latest
|
|
platform: debian
|
|
- name: debian8-ansible-latest
|
|
driver:
|
|
image: rndmh3ro/docker-debian8-ansible:latest
|
|
platform: debian
|
|
- name: debian9-ansible-latest
|
|
driver:
|
|
image: rndmh3ro/docker-debian9-ansible:latest
|
|
platform: debian
|
|
|
|
verifier:
|
|
name: inspec
|
|
sudo: true
|
|
inspec_tests:
|
|
- https://github.com/dev-sec/nginx-baseline
|
|
|
|
suites:
|
|
- name: nginx
|