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

Commit

Permalink
renamed main_2 -> hardening, added default var
Browse files Browse the repository at this point in the history
  • Loading branch information
jcheroske authored and Sebastian Gumprich committed Sep 2, 2018
1 parent 9db3846 commit 7cf4e9e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions defaults/main.yml
Expand Up @@ -217,3 +217,7 @@ ssh_challengeresponseauthentication: false

# a list of public keys that are never accepted by the ssh server
ssh_server_revoked_keys: []

# Set to false to turn the role into a no-op. Useful when using
# the Ansible role dependency mechanism.
ssh_hardening_enabled: true
File renamed without changes.
4 changes: 2 additions & 2 deletions tasks/main.yml
@@ -1,4 +1,4 @@
---

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

0 comments on commit 7cf4e9e

Please sign in to comment.