Register camelot and gitea, make camelot accessible for everyone

This commit is contained in:
Yohann D'ANELLO 2020-09-04 09:56:02 +02:00
parent 646ebd3ba9
commit 5c46191389
2 changed files with 3 additions and 0 deletions

2
hosts
View file

@ -19,6 +19,8 @@ dhcp-aurore.adm.auro.re
dns-aurore.adm.auro.re
docker-worker1-aurore.adm.auro.re
proxy-backup.adm.auro.re
camelot.adm.auro.re
gitea.adm.auro.re
###############################################################################

View file

@ -1,6 +1,7 @@
---
# Filter SSH on groups
- name: Filter SSH on groups
when: ansible_facts['hostname'] != "camelot" # Camelot is accessible for everyone
lineinfile:
dest: /etc/ssh/sshd_config
regexp: ^AllowGroups