diff options
author | binary <me@rgoncalves.se> | 2021-02-22 11:35:59 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2021-02-22 11:35:59 +0100 |
commit | 203fd728de43cd8eca552eadd148f51affe51e40 (patch) | |
tree | 4710b955348266c16e778841ebac2273210138a8 /roles/sshd | |
parent | 05a65c64f2d7f665a551ca0d69e0bc7994513ccb (diff) | |
download | infrastructure-203fd728de43cd8eca552eadd148f51affe51e40.tar.gz |
Pretty print for discovered ssh keys
Diffstat (limited to 'roles/sshd')
-rw-r--r-- | roles/sshd/tasks/main.yml | 5 |
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: |