Add static network interface

This commit is contained in:
2020-04-24 22:24:02 -04:00
parent 1c3355e052
commit ff709be0db
3 changed files with 14 additions and 0 deletions

View File

@@ -6,6 +6,7 @@
- name: Install network interfaces
template:
src: bridged-interface.cfg
src: {{ network_type }}-interface.cfg
dest: /etc/network/interfaces
notify: reboot_host
@@ -13,3 +14,4 @@
apt:
name: bridge-utils
state: present
when: network_type == "bridged"