ansible-collection-hardening/molecule/nginx_hardening/converge.yml

17 lines
505 B
YAML
Raw Normal View History

2020-11-07 20:19:43 +00:00
---
- 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) }}"
2020-11-07 20:19:43 +00:00
vars:
- nginx_ppa_use: true
- nginx_ppa_version: stable
tasks:
- include_role:
name: nginx_hardening