浏览代码

Merge pull request #85 from titilambert/patch-1

Add missing ssh_config test to create .ssh folder
lookup-fix-3
Forrest 9 年前
父节点
当前提交
71c7323683
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      users/init.sls

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

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

正在加载...
取消
保存