Przeglądaj źródła

Add missing ssh_config test to create .ssh folder

lookup-fix-3
Thibault Cohen 9 lat temu
rodzic
commit
3df9d8ae21
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      users/init.sls

+ 1
- 1
users/init.sls Wyświetl plik

@@ -105,7 +105,7 @@ users_{{ name }}_user:
{% endfor %}


{% if 'ssh_keys' in user or 'ssh_auth' in user or 'ssh_auth_file' in user or 'ssh_auth.absent' in user %}
{% if 'ssh_keys' in user or 'ssh_auth' in user or 'ssh_auth_file' in user or 'ssh_auth.absent' in user or 'ssh_config' in user %}
user_keydir_{{ name }}:
file.directory:
- name: {{ user.get('home', '/home/{0}'.format(name)) }}/.ssh

Ładowanie…
Anuluj
Zapisz