Infra: AWS Jenkins Integration
[csit.git] / fdio.infra.ansible / roles / user_add / tasks / main.yaml
index e2ef63d..24be30d 100644 (file)
@@ -33,5 +33,7 @@
     line: "PasswordAuthentication no"
   notify:
     - "Restart SSHd"
+  when:
+    - sshd_disable_password_login
   tags:
     - user-add-conf