summaryrefslogtreecommitdiff
path: root/admin/sshd_config.yaml
blob: aba6a9f1b1f855d56fe0e054a218c5d2c3c91801 (plain)
1
2
3
4
5
6
7
8
---
- hosts: all
  gather_facts: false
  tasks:
    - name: ensure SSH login with password is disabled
      lineinfile:
        dest=/etc/ssh/sshd_config
        line='PasswordAuthentication no'