...
 
Commits (1)
---
- 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