summaryrefslogtreecommitdiff
path: root/dan/ele-helene.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-03-05 00:22:11 +0100
committerChristian Pointner <equinox@spreadspace.org>2020-03-05 00:22:11 +0100
commitc303466b6f83a57611f8d9aff0a7b9fe9baa02d3 (patch)
tree9bce597c4c285e7db94ccd998d91b5f6d7d122ed /dan/ele-helene.yml
parentele-router add iptraf-ng (diff)
ele-helene setup for local rtmp proxy
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 }}"