E
Size: a a a
a
Y
L
- name: Disable root login over SSH
lineinfile:
dest: /etc/ssh/sshd_config
regexp: "{{ item.regexp }}"
line: "PermitRootLogin no"
state: present
with_items:
- { regexp: '^PermitRootLogin' }
- { regexp: '^\#PermitRootLogin' }
notify:
- restart sshd
L
VZ
L
AS
VZ
FF
AS
L
VZ