This ansible role install Nomad and expect you to supply your own configuration templates.
See:
Nomad has MANY configuration parameters and trying to cover all of them with ansible variables makes things awfully complicated, hard to maintain and frustrating when some options are not handled. You might also prefer to use HCL over the JSON format... For these reasons, this role handles the installation of Nomad and use your supplied configuration templates so that everyone's life is made easier!
- Nomad binary directory
- Default value:
/usr/local/bin
- Base configuration directory
- Default value:
/etc/nomad
- Path to the configuration template to use
- Must be supplied
- Resulting config will be the file name without the
.j2
extension. ie./some/path/config.hcl.j2
would result in{{ nomad_config_dir }}/config.hcl
- Nomad data directory
- Default value:
/var/lib/nomad'
- Extra configuration directory
- Default value:
{{ nomad_config_dir }}/nomad.d
- Extra configuration templates to render
- Resulting configs will be the files name without the
.j2
extension. ie./some/path/my-extra-config.hcl.j2
would result in{{ nomad_extra_config_dir }}/my-extra-config.hcl
- Resulting configs will be the files name without the
- Default value:
[]
- Nomad unix group
- Note that for Nomad clients this should be changed to
root
. See: Nomad User Permissions
- Note that for Nomad clients this should be changed to
- Default value:
nomad
- Nomad unix user
- Note that for Noad clients this should be changed to
root
. See: Nomad User Permissions
- Note that for Noad clients this should be changed to
- Default value:
nomad
- Version to install
- Default value: 1.1.2