aboutsummaryrefslogtreecommitdiffstats
path: root/roles/sshd
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2021-02-22 11:35:59 +0100
committerbinary <me@rgoncalves.se>2021-02-22 11:35:59 +0100
commit203fd728de43cd8eca552eadd148f51affe51e40 (patch)
tree4710b955348266c16e778841ebac2273210138a8 /roles/sshd
parent05a65c64f2d7f665a551ca0d69e0bc7994513ccb (diff)
downloadinfrastructure-203fd728de43cd8eca552eadd148f51affe51e40.tar.gz
Pretty print for discovered ssh keys
Diffstat (limited to 'roles/sshd')
-rw-r--r--roles/sshd/tasks/main.yml5
1 files changed, 4 insertions, 1 deletions
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:
remember that computers suck.