fixed state in Ansible ssh-keys task
This commit is contained in:
1 parent
b42218e943
commit
65916dd50f
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user