Files
dsk-iac/ansible/01_old/roles/security-settings/templates/allow_users.j2
2023-12-19 13:36:16 +09:00

12 lines
289 B
Django/Jinja
Executable File

AllowUsers dev2-iac@10.10.43.*
{% if admin_users is defined %}
{% for user in admin_users %}
AllowUsers {{ user.name }}@{{ user.ip }}
{% endfor %}
{% endif %}
{% if allow_users is defined %}
{% for user in allow_users %}
AllowUsers {{ user.name }}@{{ user.ip }}
{% endfor %}
{% endif %}