public keys
This commit is contained in:
parent
85839d2385
commit
8108b2df07
@ -18,8 +18,9 @@
|
|||||||
|
|
||||||
- name: Add public key for deploy user
|
- name: Add public key for deploy user
|
||||||
authorized_key:
|
authorized_key:
|
||||||
user: "{{ deploy_user.username }}"
|
user: "{{ item.username }}"
|
||||||
key: "{{ deploy_public_key }}"
|
key: "{{ deploy_public_key }}"
|
||||||
|
with_items: "{{ deploy_users }}"
|
||||||
register: add_identity_key
|
register: add_identity_key
|
||||||
|
|
||||||
- name: Disable password login
|
- name: Disable password login
|
||||||
|
Loading…
Reference in New Issue
Block a user