Closed heri16 closed 4 years ago
Looks like we have the same issue with nomad_config_custom
:
Just came here to mention the same issue with nomad_chroot_env which I just stumbled upon. HCL and JSON are mixed in the client.hcl file which crashes Nomad.
nomad_config_custom however works for me, since that property creates a new file ("custom.hcl") and is not mixing hcl and json in the file contents. The custom.hcl file is wrong in the sense that it is actually json and not hcl, so yes, both of these should still be looked at.
Closed with #69?
assuming closed by #69
I am getting an "illegal char error" with my client.hcl when using
nomad_chroot_env
.This line seems to be incorrect: https://github.com/brianshumate/ansible-nomad/blob/b37e501c5ff320e85fc10bc4d638285aec027867/templates/client.hcl.j2#L35
What the template generated
What the template should have generated