From 203fd728de43cd8eca552eadd148f51affe51e40 Mon Sep 17 00:00:00 2001 From: binary Date: Mon, 22 Feb 2021 11:35:59 +0100 Subject: Pretty print for discovered ssh keys --- roles/sshd/tasks/main.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'roles') diff --git a/roles/sshd/tasks/main.yml b/roles/sshd/tasks/main.yml index ef19c9b..1e1493d 100644 --- a/roles/sshd/tasks/main.yml +++ b/roles/sshd/tasks/main.yml @@ -23,7 +23,10 @@ - name: show pubkeys debug: - var: keys + msg: | + {% for key in keys.files %} + {{ key.path }} + {% endfor %} - name: synchronize ssh keys authorized_key: -- cgit v1.2.3