From cf4de87172a1717aae48554d22ee1b0a9b67ac1f Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Sat, 25 Aug 2018 14:55:42 +0200 Subject: [PATCH] fuck lookup! --- tasks/ssh.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tasks/ssh.yml b/tasks/ssh.yml index d2b9784..61046d3 100644 --- a/tasks/ssh.yml +++ b/tasks/ssh.yml @@ -18,6 +18,10 @@ line: "PermitRootLogin no" backrefs: yes +- name: Debug deploy_public_key + debug: + msg: "{{ lookup('file', deploy_public_key)}} " + - name: Add public key for deploy user authorized_key: user: "{{ item.username }}"