summaryrefslogtreecommitdiff
path: root/dan/ele-helene.yml
diff options
context:
space:
mode:
Diffstat (limited to 'dan/ele-helene.yml')
-rw-r--r--dan/ele-helene.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/dan/ele-helene.yml b/dan/ele-helene.yml
index d61a04a3..ae3cc83a 100644
--- a/dan/ele-helene.yml
+++ b/dan/ele-helene.yml
@@ -7,3 +7,12 @@
- role: zsh
- role: admin-user
- role: blackmagic-desktopvideo
+ post_tasks:
+ ## this is needed for local rtmp proxy
+ - name: install interface config for guest vlan
+ copy:
+ content: |
+ auto {{ ansible_default_ipv4.interface }}.{{ network_zones.guest.vlan }}
+ iface {{ ansible_default_ipv4.interface }}.{{ network_zones.guest.vlan }} inet static
+ address {{ network_zones.guest.prefix | ipaddr(network_zones.guest.offsets[inventory_hostname]) | ipaddr('address/prefix') }}
+ dest: "/etc/network/interfaces.d/{{ ansible_default_ipv4.interface }}.{{ network_zones.guest.vlan }}"