0
0
mirror of https://github.com/saltstack-formulas/users-formula.git synced 2024-11-30 19:35:33 +01:00

Add missing ssh_config test to create .ssh folder

This commit is contained in:
Thibault Cohen 2015-08-04 01:08:28 -04:00
parent ba11c68c24
commit 3df9d8ae21

View File

@ -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