fixed state in Ansible ssh-keys task (again)

This commit is contained in:
Bryan Joshua Pedini 2022-03-16 13:14:59 +01:00
parent 65916dd50f
commit 724f7644aa
1 changed files with 1 additions and 1 deletions

View File

@ -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