Files
nomad-nummer5/ansible/roles/nummer5/files/nomad.hcl.j2
Udo Waechter 075c7170cd
All checks were successful
continuous-integration/drone/push Build is passing
podman and nomad stuff
2024-12-11 13:37:02 +01:00

25 lines
552 B
Django/Jinja

###
# Ansible
##
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0
# Full configuration options can be found at https://www.nomadproject.io/docs/configuration
data_dir = "/opt/nomad/data"
bind_addr = "{{ ansible_facts['default_ipv4']['address'] }}"
datacenter = "nummer5"
server {
enabled = true
bootstrap_expect = 3
}
client {
enabled = true
servers = ["{{ ansible_facts['default_ipv4']['address'] }}"]
network_interface = "{{ ansible_facts['default_ipv4']['interface'] }}"
node_pool = "{{ nomad_pool }}"
}