Added emma play and updated roles for multi-server setup

This commit is contained in:
Jef Roosens 2025-12-21 21:43:27 +01:00
parent dc538a3971
commit 75e0f73ba8
Signed by: Jef Roosens
GPG key ID: 21FD3D77D56BAF49
10 changed files with 151 additions and 0 deletions

View file

@ -0,0 +1,5 @@
---
- name: restart networking
service:
name: networking
state: restarted

View file

@ -0,0 +1,6 @@
---
- name: Install networking config file.
template:
src: interfaces.j2
dest: /etc/network/interfaces.d/{{ interface }}
notify: restart networking

View file

@ -0,0 +1,7 @@
auto {{ interface }}
iface {{ interface }} inet static
address {{ static_ip }}
broadcast {{ broadcast_ip }}
netmask 255.255.255.0
gateway {{ router_ip }}
dns-nameservers {{ router_ip }} 8.8.8.8