mirror of
https://github.com/Ownercz/ssme-thesis.git
synced 2025-07-20 08:11:35 +02:00
3 lines
149 B
YAML
3 lines
149 B
YAML
- name: Disable remote root login
|
|
lineinfile: dest={{ sshd_config }} regexp="^#?PermitRootLogin" line="PermitRootLogin no"
|
|
notify: restart sshd |