Fix ssh config path
This commit is contained in:
parent
f4152f9a5e
commit
9b5526b47e
1 changed files with 2 additions and 2 deletions
|
@ -24,12 +24,12 @@
|
|||
|
||||
- name: "SSH | Ensure configuration exists"
|
||||
ansible.builtin.file:
|
||||
path: .ssh/config
|
||||
path: ~/.ssh/config
|
||||
state: touch
|
||||
mode: "0644"
|
||||
|
||||
- name: "SSH | Create SSH configuration"
|
||||
ansible.builtin.blockinfile:
|
||||
path: .ssh/config
|
||||
path: ~/.ssh/config
|
||||
marker: "### {mark} ANSIBLE MANAGED BLOCK"
|
||||
block: "{{ lookup('template', 'ssh_config.j2') }}"
|
||||
|
|
Loading…
Reference in a new issue