feat(ssh): known hosts from profile

refactored to use enabled_profiles var
This commit is contained in:
Matthieu Bessat 2024-07-16 20:37:20 +02:00
parent f09b114cfe
commit 9dc0dbc514
3 changed files with 38 additions and 18 deletions

View file

@ -0,0 +1,6 @@
# Auto-generated known hosts file, try to **not** edit this file
{% for enabled_profile in enabled_profiles %}
# {{ enabled_profile.name }}
{{ lookup('file', tempdir_known_hosts.path + '/' + enabled_profile.name) }}
{% endfor %}