podman and nomad stuff

This commit is contained in:
2024-12-11 13:37:02 +01:00
parent d91d85d01d
commit cefb1e3a38
5 changed files with 104 additions and 5 deletions

View 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 }}"
}