Skip to content

Commit

Permalink
fix yaml list in nomad_plugins (#152)
Browse files Browse the repository at this point in the history
There is no simple solution for converting yaml to hcl2. This is a work
arround until a real converter is availible.

This is related to #127.
  • Loading branch information
Rendanic authored Jan 30, 2022
1 parent d995b92 commit 92d4e33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/client.hcl.j2
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,6 @@ client {

{% for key, value in nomad_plugins.items() %}
plugin "{{ key }}" {
{{ plugin_config(value) }}
{{ plugin_config(value) | replace('\'', '\"') }}
}
{% endfor %}

0 comments on commit 92d4e33

Please sign in to comment.