Skip to content
This repository was archived by the owner on Dec 26, 2020. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@
replace: '#@include common-auth'
when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'

when:
- ssh_use_pam
when:
- ssh_use_pam
- ssh_challengeresponseauthentication
- ssh_google_auth

Expand All @@ -111,7 +111,7 @@
failed_when: false
changed_when: false
check_mode: no

# The following tasks only get executed when selinux is in state enforcing, UsePam is "no" and the ssh_password module is installed.
# See this issue for more info: https://github.com/hardening-io/ansible-ssh-hardening/issues/23
- block:
Expand Down