Manually use file lookup so the terminal output looks nicer

This commit is contained in:
Jake Howard 2020-05-23 11:18:48 +01:00
parent 09418cffb0
commit 20d5020f6b
Signed by: jake
GPG Key ID: 57AFB45680EDD477

View File

@ -28,8 +28,8 @@
authorized_key:
user: "{{ user }}"
state: present
key: "{{ item }}"
with_file:
key: "{{ lookup('file', item) }}"
loop:
- ssh-keys/ps.pub
- name: Enable SSH