Browse Source

ansible/sshd_config: Add pam config

pull/1/head
10sr 10 years ago
parent
commit
94518c096f
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      ansible/sshd_config.yml

+ 5
- 0
ansible/sshd_config.yml View File

@@ -47,6 +47,11 @@
regexp="^(#)?UseDNS" regexp="^(#)?UseDNS"
line="UseDNS no" line="UseDNS no"
notify: restart sshd notify: restart sshd
- name: UsePAM no
lineinfile: dest={{conf}}
regexp="^(#)?UsePAM"
line="UsePAM no"
notify: restart sshd


handlers: handlers:
- name: restart sshd - name: restart sshd


Loading…
Cancel
Save