Skip to content

Commit bfb4f26

Browse files
committed
route_server: network interfaces file now contains non-conflicting settings with other interfaces
1 parent e5a7701 commit bfb4f26

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Interface enp1s0 called here
2+
source /etc/network/interfaces.d/*
3+
4+
# The loopback network interface
5+
auto lo
6+
iface lo inet loopback

ansible/roles/route_server/tasks/interfaces.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,11 @@
77
group: root
88
mode: '0644'
99
notify: restart networking
10+
- name: Copy interfaces file
11+
copy:
12+
dest: '/etc/network/interfaces'
13+
src: interfaces
14+
owner: root
15+
group: root
16+
mode: '0644'
17+
notify: restart networking

0 commit comments

Comments
 (0)