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