blob: 12a75d69096fa41430383ee10e96946219f0bbbd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
---
- name: Basic Setup
hosts: ele-helene
roles:
- role: base
- role: sshd
- role: zsh
- role: apt-repo/base
- role: admin-user
- role: blackmagic-desktopvideo
- role: chrony
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 }}"
|