Merge pull request #85 from titilambert/patch-1
Add missing ssh_config test to create .ssh folder
This commit is contained in:
commit
71c7323683
@ -105,7 +105,7 @@ users_{{ name }}_user:
|
|||||||
{% endfor %}
|
{% 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 }}:
|
user_keydir_{{ name }}:
|
||||||
file.directory:
|
file.directory:
|
||||||
- name: {{ user.get('home', '/home/{0}'.format(name)) }}/.ssh
|
- name: {{ user.get('home', '/home/{0}'.format(name)) }}/.ssh
|
||||||
|
Loading…
Reference in New Issue
Block a user