[openssh] Permit root login

certbot_on_virtu
_benjamin 2020-08-19 14:04:18 +02:00
parent 9ee665828d
commit 1a2890936b
1 changed files with 2 additions and 2 deletions

View File

@ -2,8 +2,8 @@
- name: Filter SSH on groups
lineinfile:
dest: /etc/ssh/sshd_config
regexp: ^AllowGroups
line: "AllowGroups {{ ssh_allow_groups }}"
regexp: ^#?PermitRootLogin
line: "PermitRootLogin yes"
state: present
notify: Restart sshd service