195245b98e
Moved template file locations to the correct role. Corrected syntax error in deploy.yaml. Removed "templates/" path from template entires as it is not required when using a role. Added fact collection into roles where required as passing vars between roles does not seem clean nor maintainable in the long run.
11 lines
310 B
Django/Jinja
11 lines
310 B
Django/Jinja
# interfaces(5) file used by ifup(8) and ifdown(8)
|
|
auto lo
|
|
iface lo inet loopback
|
|
|
|
auto {{ node_default_network_interface }}
|
|
iface {{ node_default_network_interface }} inet static
|
|
address {{ item.split(',')[11] }}
|
|
netmask {{ ipv4_subnet_mask }}
|
|
gateway {{ ipv4_gateway }}
|
|
dns-nameservers {{ ipv4_nameserver }}
|