This commit is contained in:
jonas
2021-11-23 11:50:34 +01:00
parent f8913781ac
commit 5084f1ab92
17 changed files with 171 additions and 274 deletions

View File

@@ -7,10 +7,10 @@ start sshd:
- name: sshd
- enable: True
{% if pillar['ssh']['user-pub-keys'] %}
{% if pillar['ssh']['user_pub_keys'] %}
{{ pillar['username'] }}_autherized_keys:
ssh_auth:
- present
- user: {{ pillar['username'] }}
- names: {{ pillar['ssh']['user-pub-keys'] }}
- names: {{ pillar['ssh']['user_pub_keys'] }}
{% endif %}