diff --git a/tasks/ssh-keys.yml b/tasks/ssh-keys.yml index caac3e4..fbfd6fc 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: present + state: file - name: Check if the "bryanpedini@bryanbox.home.bjphoster.cloud" key is present ansible.builtin.lineinfile: path: ~/.ssh/authorized_keys