mirror of
https://github.com/saltstack-formulas/openssh-formula.git
synced 2024-11-30 22:15:33 +01:00
minor fix: use keyFile in config.sls
This commit is contained in:
parent
e44d8860f4
commit
c71f2ae4fa
@ -47,7 +47,7 @@ ssh_generate_host_{{ keyType }}_key:
|
|||||||
{%- else %}
|
{%- else %}
|
||||||
- name: ssh-keygen -t {{ keyType }} -N '' -f {{ keyFile }}
|
- name: ssh-keygen -t {{ keyType }} -N '' -f {{ keyFile }}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
- creates: /etc/ssh/ssh_host_{{ keyType }}_key
|
- creates: {{ keyFile }}
|
||||||
- user: root
|
- user: root
|
||||||
- watch_in:
|
- watch_in:
|
||||||
- service: {{ openssh.service }}
|
- service: {{ openssh.service }}
|
||||||
|
Loading…
Reference in New Issue
Block a user