Commit 26f7b6d9 authored by bbguimaraes's avatar bbguimaraes
Browse files

ansible: replace sshd configuration line

parent 7097f664
......@@ -71,6 +71,7 @@
- name: disable root SSH password login
lineinfile:
dest: /etc/ssh/sshd_config
regexp: '^PermitRootLogin '
line: 'PermitRootLogin prohibit-password'
- name: enable and start sshd
service:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment