From 87cfd09d60c0596d5342f1f00611204fac1db8f4 Mon Sep 17 00:00:00 2001 From: Chris Hines <chris.hines@monash.edu> Date: Tue, 6 Sep 2016 11:57:24 +1000 Subject: [PATCH] remove an unnecessary task in ssh setup Former-commit-id: 26ceae345f7803fef4bfa58a0bd4518bf253afa3 --- roles/ssh-password-login/tasks/main.yml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/roles/ssh-password-login/tasks/main.yml b/roles/ssh-password-login/tasks/main.yml index 4564015a..d2f18c54 100644 --- a/roles/ssh-password-login/tasks/main.yml +++ b/roles/ssh-password-login/tasks/main.yml @@ -10,19 +10,7 @@ - restart sshd - restart ssh -- name: "Enable Challenge Response" - lineinfile: - args: - dest: /etc/ssh/sshd_config - regexp: "PasswordAuthentication no" - line: "PasswordAuthentication yes" - backrefs: yes - sudo: true - notify: - - restart sshd - - restart ssh - -- name: "Disable Challenge Response" +- name: "Disable Password" lineinfile: args: dest: /etc/ssh/sshd_config -- GitLab