forked from bitlair/ansible
common: Include the name of the user in authorized_keys
This commit is contained in:
parent
087a8619cf
commit
a31ed367dd
2 changed files with 2 additions and 0 deletions
|
@ -2,3 +2,4 @@
|
|||
- hosts: debian
|
||||
roles:
|
||||
- common
|
||||
- common-bitlair
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# Managed by Ansible
|
||||
|
||||
{% for name in root_access %}
|
||||
# {{ name }}
|
||||
{{ lookup('file', 'authorized_keys/'+name+'.keys') }}
|
||||
{% endfor %}
|
||||
|
|
Loading…
Add table
Reference in a new issue