This commit is contained in:
Bertrand Benjamin 2018-08-24 11:01:11 +02:00
parent 8108b2df07
commit cbd457eb13

View File

@ -19,7 +19,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: "{{ deploy_public_key }}" key: "{{ lookup('file', deploy_public_key) }}"
with_items: "{{ deploy_users }}" with_items: "{{ deploy_users }}"
register: add_identity_key register: add_identity_key