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: authorized_key:
user: "{{ user }}" user: "{{ user }}"
state: present state: present
key: "{{ item }}" key: "{{ lookup('file', item) }}"
with_file: loop:
- ssh-keys/ps.pub - ssh-keys/ps.pub
- name: Enable SSH - name: Enable SSH