mirror of
https://github.com/dev-sec/ansible-nginx-hardening.git
synced 2024-11-22 19:42:02 +01:00
61 lines
1.1 KiB
YAML
61 lines
1.1 KiB
YAML
---
|
|
driver:
|
|
name: docker
|
|
use_sudo: false
|
|
|
|
transport:
|
|
max_ssh_sessions: 5
|
|
|
|
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
|
|
ansible_diff: true
|
|
requirements_path: requirements.yml
|
|
roles_path: ../ansible-nginx-hardening/
|
|
playbook: default.yml
|
|
|
|
platforms:
|
|
- name: ubuntu-12.04
|
|
driver:
|
|
image: ubuntu:12.04
|
|
- name: ubuntu-14.04
|
|
driver:
|
|
image: ubuntu:14.04
|
|
- name: ubuntu-16.04
|
|
driver:
|
|
image: ubuntu:16.04
|
|
- name: centos-6.7
|
|
driver:
|
|
image: centos:6.7
|
|
- name: centos-6.8
|
|
driver:
|
|
image: centos:6.8
|
|
- name: centos-7
|
|
driver:
|
|
image: centos:7
|
|
privileged: true
|
|
run_command: /usr/sbin/init
|
|
- name: debian-7
|
|
driver:
|
|
image: debian:7
|
|
- name: debian-8
|
|
driver:
|
|
image: debian:8
|
|
|
|
verifier:
|
|
name: inspec
|
|
sudo: true
|
|
inspec_tests:
|
|
- https://github.com/dev-sec/tests-nginx-hardening
|
|
|
|
suites:
|
|
- name: nginx-ansible_1.9
|
|
provisioner:
|
|
ansible_version: 1.9.4
|
|
- name: nginx-ansible_latest
|