Move nomad default interface to host vars

This commit is contained in:
IamTheFij 2024-04-22 09:06:11 -07:00
parent 2d59886378
commit 28da3f425b
2 changed files with 4 additions and 1 deletions

View File

@ -2,6 +2,8 @@
all:
children:
servers:
vars:
nomad_network_interface: eth0
hosts:
n1.thefij:
nomad_node_role: both

View File

@ -193,7 +193,8 @@
nomad_bind_address: 0.0.0.0
# Default interface for binding tasks
nomad_network_interface: eth0
# This is now set at the inventory level
# nomad_network_interface: eth0
# Create networks for binding task ports
nomad_host_networks: