.
This commit is contained in:
@@ -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 %}
|
||||
|
Reference in New Issue
Block a user