Fix ssh config path

This commit is contained in:
phil 2023-05-08 11:54:10 +02:00
parent f4152f9a5e
commit 9b5526b47e

View file

@ -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') }}"