diff --git a/tasks/ssh.yml b/tasks/ssh.yml index c9072ef..f8c9051 100644 --- a/tasks/ssh.yml +++ b/tasks/ssh.yml @@ -6,13 +6,13 @@ - name: "SSH | Ensure configuration file is present" ansible.builtin.file: - path: "{{ ssh_config_name }}" + path: "{{ ssh_config_path }}" state: touch mode: "644" - name: "SSH | Insert borgbase configuration" ansible.builtin.blockinfile: - path: "{{ ssh_config_name }}" + path: "{{ ssh_config_path }}" marker: "### {mark} ANSIBLE MANAGED BLOCK" block: | Host *.repo.borgbase.com