Merge branch 'openssh' into 'newinfra'

Openssh

See merge request nounous/ansible!58
certbot_on_virtu
_benjamin 2020-08-19 14:05:46 +02:00
commit 2527390703
2 changed files with 6 additions and 2 deletions

View File

@ -46,3 +46,7 @@
roles:
- ldap-client
- home-nounous
- hosts: server
roles:
- openssh

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