Deploy public key
This commit is contained in:
parent
ea827cc27c
commit
ef4a7b0228
@ -21,7 +21,7 @@
|
|||||||
- name: Add public key for deploy user
|
- name: Add public key for deploy user
|
||||||
authorized_key:
|
authorized_key:
|
||||||
user: "{{ item.username }}"
|
user: "{{ item.username }}"
|
||||||
key: "{{ lookup('file', deploy_public_key) }}"
|
key: "{{ deploy_public_key }}"
|
||||||
state: present
|
state: present
|
||||||
with_items: "{{ deploy_users }}"
|
with_items: "{{ deploy_users }}"
|
||||||
register: add_identity_key
|
register: add_identity_key
|
||||||
|
Loading…
Reference in New Issue
Block a user