You've already forked ansible-role-git
fix: support ssh allowedSignersFile and revocationFile
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
This commit is contained in:
9
templates/.config/git/allowedSignersFile.j2
Normal file
9
templates/.config/git/allowedSignersFile.j2
Normal file
@ -0,0 +1,9 @@
|
||||
#
|
||||
# {{ ansible_managed }}
|
||||
#
|
||||
|
||||
{% if item.value.allowedSignersFile is defined and item.value.allowedSignersFile | length > 0%}
|
||||
{% for entry in item.value.allowedSignersFile %}
|
||||
{{ entry.principals | join(',') }} {{ entry.publicSSHKey }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
9
templates/.config/git/revocationFile.j2
Normal file
9
templates/.config/git/revocationFile.j2
Normal file
@ -0,0 +1,9 @@
|
||||
#
|
||||
# {{ ansible_managed }}
|
||||
#
|
||||
|
||||
{% if item.value.revocationFile is defined and item.value.revocationFile | length > 0%}
|
||||
{% for entry in item.value.revocationFile %}
|
||||
{{ entry }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
Reference in New Issue
Block a user