Install, configure and maintain Nomad - a workload orchestrator from HashiCorp.
Please see ansible-consul.
See defaults/ for details and examples.
nomad_version
nomad_dirs
nomad_dir: "/opt/nomad"
nomad_dirs:
main:
path: "{{ nomad_dir }}"
configs:
path: "{{ nomad_dir }}/config.d"
certs:
path: "{{ nomad_dir }}/certs"
mode: "u=rwX,g=rX,o="
logs:
path: "/var/log/nomad"
data:
path: "/var/lib/nomad"
mode: "u=rwX,g=rX,o="
nomad_config
nomad_configs
config.d
directorynomad_user
nomad
on server hosts. On client
hosts root
is required.root
nomad_grop
nomad_user
. Set to nomad
on server hosts.root
nomad_download_url
https://releases.hashicorp.com
nomad_service
nomad_unitfile
skip_handlers
false
config
- update Nomad unit/service file and sync configuration files