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"
|
- name: "SSH | Ensure configuration exists"
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: .ssh/config
|
path: ~/.ssh/config
|
||||||
state: touch
|
state: touch
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
|
|
||||||
- name: "SSH | Create SSH configuration"
|
- name: "SSH | Create SSH configuration"
|
||||||
ansible.builtin.blockinfile:
|
ansible.builtin.blockinfile:
|
||||||
path: .ssh/config
|
path: ~/.ssh/config
|
||||||
marker: "### {mark} ANSIBLE MANAGED BLOCK"
|
marker: "### {mark} ANSIBLE MANAGED BLOCK"
|
||||||
block: "{{ lookup('template', 'ssh_config.j2') }}"
|
block: "{{ lookup('template', 'ssh_config.j2') }}"
|
||||||
|
|
Loading…
Reference in a new issue