diff --git a/tasks/ssh-keys.yml b/tasks/ssh-keys.yml index fbfd6fc..91b55f4 100644 --- a/tasks/ssh-keys.yml +++ b/tasks/ssh-keys.yml @@ -8,7 +8,7 @@ ansible.builtin.file: path: ~/.ssh/authorized_keys mode: 0600 - state: file + state: touch - name: Check if the "bryanpedini@bryanbox.home.bjphoster.cloud" key is present ansible.builtin.lineinfile: path: ~/.ssh/authorized_keys