All checks were successful
continuous-integration/drone/push Build is passing
25 lines
552 B
Django/Jinja
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 }}"
|
|
}
|