fixed state in Ansible ssh-keys task

This commit is contained in:
Bryan Joshua Pedini 2022-03-16 13:12:49 +01:00
parent b42218e943
commit 65916dd50f

View File

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