15 lines
367 B
YAML
15 lines
367 B
YAML
---
|
|
- name: Configure SSH UseDNS=no
|
|
ansible.builtin.lineinfile:
|
|
path: /etc/ssh/sshd_config
|
|
regexp: "^#?UseDNS "
|
|
line: UseDNS no
|
|
notify: Restart SSH
|
|
|
|
- name: Configure SSH GSSAPIAuthentication=no
|
|
ansible.builtin.lineinfile:
|
|
path: /etc/ssh/sshd_config
|
|
regexp: "^#?GSSAPIAuthentication "
|
|
line: GSSAPIAuthentication no
|
|
notify: Restart SSH
|