Install, configure and maintain Nomad - a workload orchestrator from HashiCorp.
Please see ansible-consul.
See defaults/ for details and examples.
- version to use
- a map of directories to create
- default:
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="
- main configuration file
- example: please see defaults/example.yml
- map of configuration files to create in
config.d
directory
- owner of nomad process and files. Set to
nomad
on server hosts. On client hostsroot
is required. - default:
root
- group of
nomad_user
. Set tonomad
on server hosts. - default:
root
- url to get nomad archive from
- default:
https://releases.hashicorp.com
- openrc service file
- default: see defaults/main.yml
- systemd unit file
- default: see defaults/main.yml
- skipt consul restart/reload - useful when building images with packer
- default:
false
config
- update Nomad unit/service file and sync configuration files
- Anatoly Laskaris - nahsi