public keys

This commit is contained in:
Bertrand Benjamin 2018-08-24 10:59:13 +02:00
parent 85839d2385
commit 8108b2df07

View File

@ -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