Manually use file lookup so the terminal output looks nicer
This commit is contained in:
parent
09418cffb0
commit
20d5020f6b
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue