diff --git a/playbooks/update_ssh_keys.yml b/playbooks/update_ssh_keys.yml index 66c2606..8025e81 100644 --- a/playbooks/update_ssh_keys.yml +++ b/playbooks/update_ssh_keys.yml @@ -26,9 +26,9 @@ - name: Ensure we have our own comment added to /etc/services ansible.builtin.lineinfile: - path: "cat {{ ansible_env.HOME }}/.ssh/authorized_keys" + path: "{{ ansible_env.HOME }}/.ssh/authorized_keys" line: key.stdout - + - name: Print ansible.builtin.debug: msg: "the value of foo.txt is {{ lookup('ansible.builtin.file', '/home/jd/.ssh/id_rsa.pub') }}" \ No newline at end of file