mirror of
https://github.com/dev-sec/ansible-collection-hardening
synced 2024-11-10 01:04:13 +00:00
422fb940a9
Signed-off-by: Martin Schurz <Martin.Schurz@telekom.de>
13 lines
487 B
YAML
13 lines
487 B
YAML
---
|
|
- name: Wrapper playbook for kitchen testing "ansible-ssh-hardening" with default settings
|
|
hosts: all
|
|
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) }}"
|
|
tasks:
|
|
- name: Include ssh_hardening role
|
|
ansible.builtin.include_role:
|
|
name: devsec.hardening.ssh_hardening
|
|
vars:
|
|
sftp_enabled: false
|