minor fix: use keyFile in config.sls

This commit is contained in:
Alexander Weidinger 2017-07-04 22:47:02 +02:00
parent e44d8860f4
commit c71f2ae4fa

View File

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