[openssh] Permit root login
parent
9ee665828d
commit
1a2890936b
|
@ -2,8 +2,8 @@
|
||||||
- name: Filter SSH on groups
|
- name: Filter SSH on groups
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: /etc/ssh/sshd_config
|
dest: /etc/ssh/sshd_config
|
||||||
regexp: ^AllowGroups
|
regexp: ^#?PermitRootLogin
|
||||||
line: "AllowGroups {{ ssh_allow_groups }}"
|
line: "PermitRootLogin yes"
|
||||||
state: present
|
state: present
|
||||||
notify: Restart sshd service
|
notify: Restart sshd service
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue