mirror of
https://github.com/dev-sec/ansible-collection-hardening
synced 2024-11-10 09:14:18 +00:00
422fb940a9
Signed-off-by: Martin Schurz <Martin.Schurz@telekom.de>
24 lines
654 B
YAML
24 lines
654 B
YAML
---
|
|
- name: Wrapper playbook for kitchen testing "ansible-nginx-hardening" with custom settings
|
|
hosts: localhost
|
|
vars:
|
|
nginx_main_template_enable: true
|
|
nginx_main_template:
|
|
template_file: nginx.conf.j2
|
|
conf_file_name: nginx.conf
|
|
conf_file_location: /etc/nginx/
|
|
user: www-data
|
|
worker_processes: auto
|
|
error_level: warn
|
|
worker_connections: 1024
|
|
http_enable: true
|
|
http_settings:
|
|
keepalive_timeout: 65
|
|
cache: false
|
|
rate_limit: false
|
|
keyval: false
|
|
stream_enable: false
|
|
http_global_autoindex: false
|
|
roles:
|
|
- nginxinc.nginx
|
|
- nginx_hardening
|