Deploy public key

This commit is contained in:
Bertrand Benjamin 2018-08-25 14:52:47 +02:00
parent ea827cc27c
commit ef4a7b0228

View File

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