fuck lookup!

This commit is contained in:
Bertrand Benjamin 2018-08-25 14:55:42 +02:00
parent ef4a7b0228
commit cf4de87172

View File

@ -18,6 +18,10 @@
line: "PermitRootLogin no"
backrefs: yes
- name: Debug deploy_public_key
debug:
msg: "{{ lookup('file', deploy_public_key)}} "
- name: Add public key for deploy user
authorized_key:
user: "{{ item.username }}"