ssh - add ansible login restrictions

This commit is contained in:
Ludovic Cartier committed 2026-06-18 17:17:37 +02:00
1 parent 4a4a4fce83
commit e5cf177ee8
2 files changed
+15

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
{% if ssh_ansible_authorized_ips is defined %}
{% for ip in ssh_ansible_authorized_ips %}
Match Address {{ ip }}
AllowUsers ansible
{% endfor %}
{% endif %}