mirror of
https://github.com/Ownercz/ssme-thesis.git
synced 2025-07-20 16:21:34 +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 |