podman and nomad stuff
This commit is contained in:
24
roles/nummer5/files/nomad.hcl.j2
Normal file
24
roles/nummer5/files/nomad.hcl.j2
Normal file
@@ -0,0 +1,24 @@
|
||||
###
|
||||
# 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 }}"
|
||||
}
|
||||
Reference in New Issue
Block a user