create-user/authkeys: become
This commit is contained in:
parent
4e087155d8
commit
9085c81d0d
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@
|
|||
|
||||
- name: "Copy '~/.ssh/id_*.pub' (on controller) to authorized_keys for '{{ create_username }}'"
|
||||
tags: ['keys']
|
||||
become: true
|
||||
ansible.posix.authorized_key:
|
||||
user: "{{ create_username }}"
|
||||
state: present
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue