From ef4a7b022839b042d769b22e846f6163b2e12547 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Sat, 25 Aug 2018 14:52:47 +0200 Subject: [PATCH] Deploy public key --- tasks/ssh.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/ssh.yml b/tasks/ssh.yml index c270c64..d2b9784 100644 --- a/tasks/ssh.yml +++ b/tasks/ssh.yml @@ -21,7 +21,7 @@ - name: Add public key for deploy user authorized_key: user: "{{ item.username }}" - key: "{{ lookup('file', deploy_public_key) }}" + key: "{{ deploy_public_key }}" state: present with_items: "{{ deploy_users }}" register: add_identity_key