From cbd457eb139f42e897ecd9fb14954592cec9aabb Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Fri, 24 Aug 2018 11:01:11 +0200 Subject: [PATCH] same --- tasks/ssh.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/ssh.yml b/tasks/ssh.yml index f2d9d0d..f69fe01 100644 --- a/tasks/ssh.yml +++ b/tasks/ssh.yml @@ -19,7 +19,7 @@ - name: Add public key for deploy user authorized_key: user: "{{ item.username }}" - key: "{{ deploy_public_key }}" + key: "{{ lookup('file', deploy_public_key) }}" with_items: "{{ deploy_users }}" register: add_identity_key