You've already forked ansible-role-root
Initial COmmit
This commit is contained in:
10
templates/root/.ssh/authorized_keys.j2
Normal file
10
templates/root/.ssh/authorized_keys.j2
Normal file
@ -0,0 +1,10 @@
|
||||
#
|
||||
# {{ ansible_managed }}
|
||||
#
|
||||
{% for authorized_key in root.ssh.authorized_keys %}
|
||||
{% if authorized_key.command is defined and authorized_key.command | length > 0 %}
|
||||
command="{{ authorized_key.command }}" {{ lookup('file', 'ssh/authorized_keys/' + authorized_key.filename ) }}
|
||||
{% else %}
|
||||
{{ lookup('file', 'ssh/authorized_keys/' + authorized_key.filename ) }}
|
||||
{% endif %}
|
||||
{% endfor %}
|
Reference in New Issue
Block a user