Skip to content
This repository was archived by the owner on Dec 26, 2020. It is now read-only.

Commit 7cf4e9e

Browse files
jcheroskeSebastian Gumprich
authored andcommitted
renamed main_2 -> hardening, added default var
1 parent 9db3846 commit 7cf4e9e

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

defaults/main.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,3 +217,7 @@ ssh_challengeresponseauthentication: false
217217

218218
# a list of public keys that are never accepted by the ssh server
219219
ssh_server_revoked_keys: []
220+
221+
# Set to false to turn the role into a no-op. Useful when using
222+
# the Ansible role dependency mechanism.
223+
ssh_hardening_enabled: true
File renamed without changes.

tasks/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22

3-
- include_tasks: main_2.yml
4-
when: ssh_hardening_enabled | default(true)
3+
- include_tasks: hardening.yml
4+
when: ssh_hardening_enabled

0 commit comments

Comments
 (0)