Commit 3a2162d0 by Guillaume Hervier

playbook: Add sshd-tweaks role, disable reverse DNS resolution

1 parent 57c90ac6
---
- name: reload sshd
service:
name: sshd
state: reloaded
- name: restart sshd
service:
name: sshd
state: restarted
---
- name: Disable reverse name resolution for SSH
lineinfile:
dest: /etc/ssh/sshd_config
regexp: "^UseDNS"
line: "UseDNS no"
insertafter: EOF
state: present
notify:
- reload sshd
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!