diff --git a/ansible/roles/ssh/tasks/main.yaml b/ansible/roles/ssh/tasks/main.yaml index 164d667..0d18721 100644 --- a/ansible/roles/ssh/tasks/main.yaml +++ b/ansible/roles/ssh/tasks/main.yaml @@ -44,6 +44,11 @@ vars: tempdir_known_hosts: "{{ tempdir_known_hosts }}" +- name: Ensure ssh config profiles dir exists + file: + path: "{{ home }}/.ssh/profiles" + state: directory + - name: Load ssh config of profiles template: src: "{{ home }}/.dots/profiles/{{ item.name }}/configs/ssh/config"