Files
base/templates/sshd_ansible_conf.j2
T

7 lines
159 B
Django/Jinja

{% if ssh_ansible_authorized_ips is defined %}
{% for ip in ssh_ansible_authorized_ips %}
Match Address {{ ip }}
AllowUsers ansible
{% endfor %}
{% endif %}