nahsi.nomad
Nomad
Install, configure and maintain Nomad - a workload orchestrator from HashiCorp.
Role Philosophy
Please see ansible-consul.
Role Variables
See defaults/ for details and examples.
nomad_version
- version to use
nomad_dirs
- 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="
nomad_config
- main configuration file
- example: please see defaults/example.yml
nomad_configs
- map of configuration files to create in
config.ddirectory
nomad_user
- owner of nomad process and files. Set to
nomadon server hosts. On client hostsrootis required. - default:
root
nomad_grop
- group of
nomad_user. Set tonomadon server hosts. - default:
root
nomad_download_url
- url to get nomad archive from
- default:
https://releases.hashicorp.com
nomad_service
- openrc service file
- default: see defaults/main.yml
nomad_unitfile
- systemd unit file
- default: see defaults/main.yml
skip_handlers
- skipt consul restart/reload - useful when building images with packer
- default:
false
Tags
config- update Nomad unit/service file and sync configuration files
Author
- Anatoly Laskaris - nahsi
Install
ansible-galaxy install nahsi.nomadLicense
mit
Downloads
1.8k
Owner
