瀏覽代碼

the user's .ssh directory should be created if ssh_auth_file is supplied

lookup-fix-3
Cole Kowalski 9 年之前
父節點
當前提交
7dda5571db
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      users/init.sls

+ 1
- 1
users/init.sls 查看文件

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


{% if 'ssh_keys' in user or 'ssh_auth' 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 %}
user_keydir_{{ name }}:
file.directory:
- name: {{ user.get('home', '/home/{0}'.format(name)) }}/.ssh

Loading…
取消
儲存