bastion update
This commit is contained in:
10
ansible/roles/bastion/templates/allow_users.j2
Executable file
10
ansible/roles/bastion/templates/allow_users.j2
Executable file
@@ -0,0 +1,10 @@
|
||||
{% 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 %}
|
||||
Reference in New Issue
Block a user