mirror of
https://github.com/saltstack-formulas/openssh-formula.git
synced 2026-08-03 13:31:36 +02:00
minor fix: use keyFile in config.sls
This commit is contained in:
+1
-1
@@ -47,7 +47,7 @@ ssh_generate_host_{{ keyType }}_key:
|
||||
{%- else %}
|
||||
- name: ssh-keygen -t {{ keyType }} -N '' -f {{ keyFile }}
|
||||
{%- endif %}
|
||||
- creates: /etc/ssh/ssh_host_{{ keyType }}_key
|
||||
- creates: {{ keyFile }}
|
||||
- user: root
|
||||
- watch_in:
|
||||
- service: {{ openssh.service }}
|
||||
|
||||
Reference in New Issue
Block a user