fix: ensure ssh profile dir is created

This commit is contained in:
Matthieu Bessat 2024-08-01 11:29:39 +02:00
parent c434fff10f
commit 8603ce3cb0

View file

@ -44,6 +44,11 @@
vars: vars:
tempdir_known_hosts: "{{ tempdir_known_hosts }}" 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 - name: Load ssh config of profiles
template: template:
src: "{{ home }}/.dots/profiles/{{ item.name }}/configs/ssh/config" src: "{{ home }}/.dots/profiles/{{ item.name }}/configs/ssh/config"