mirror of
https://github.com/dev-sec/ansible-collection-hardening
synced 2024-11-10 09:14:18 +00:00
7b69c4bd47
Signed-off-by: Martin Schurz <Martin.Schurz@t-systems.com>
16 lines
505 B
YAML
16 lines
505 B
YAML
---
|
|
- name: wrapper playbook for kitchen testing "ansible-nginx-hardening" with custom settings
|
|
become: true
|
|
hosts: all
|
|
collections:
|
|
- devsec.hardening
|
|
environment:
|
|
http_proxy: "{{ lookup('env', 'http_proxy') | default(omit) }}"
|
|
https_proxy: "{{ lookup('env', 'https_proxy') | default(omit) }}"
|
|
no_proxy: "{{ lookup('env', 'no_proxy') | default(omit) }}"
|
|
vars:
|
|
- nginx_ppa_use: true
|
|
- nginx_ppa_version: stable
|
|
tasks:
|
|
- include_role:
|
|
name: nginx_hardening
|