fixed state in Ansible ssh-keys task (again)
This commit is contained in:
parent
65916dd50f
commit
724f7644aa
@ -8,7 +8,7 @@
|
|||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: ~/.ssh/authorized_keys
|
path: ~/.ssh/authorized_keys
|
||||||
mode: 0600
|
mode: 0600
|
||||||
state: file
|
state: touch
|
||||||
- name: Check if the "bryanpedini@bryanbox.home.bjphoster.cloud" key is present
|
- name: Check if the "bryanpedini@bryanbox.home.bjphoster.cloud" key is present
|
||||||
ansible.builtin.lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
path: ~/.ssh/authorized_keys
|
path: ~/.ssh/authorized_keys
|
||||||
|
Loading…
Reference in New Issue
Block a user