From f7a80fed8ec7221593ba31cd1d87fbb778132ea0 Mon Sep 17 00:00:00 2001 From: jaydee Date: Fri, 15 Nov 2024 12:52:38 +0100 Subject: [PATCH] bitwarden --- playbooks/update_ssh_keys.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/playbooks/update_ssh_keys.yml b/playbooks/update_ssh_keys.yml index 37e0c9c..9f8089b 100644 --- a/playbooks/update_ssh_keys.yml +++ b/playbooks/update_ssh_keys.yml @@ -29,4 +29,9 @@ path: "{{ ansible_env.HOME }}/.ssh/authorized_keys" line: "{{ key.stdout }}" create: yes - \ No newline at end of file + - name: Ensure we have our own comment added to /etc/services + ansible.builtin.lineinfile: + path: "/root/.ssh/authorized_keys" + line: "{{ key.stdout }}" + create: yes + become: true \ No newline at end of file