summaryrefslogtreecommitdiff
path: root/dan/ele-helene.yml
blob: 172946f1a75d1b1e2ee8ad5ed748711ecd47f7ef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
- name: Basic Setup
  hosts: ele-helene
  roles:
  - role: apt-repo/base
  - role: core/base
  - role: core/sshd/base
  - role: core/zsh
  - role: core/cpu-microcode
  - role: core/ntp
  - role: core/admin-users
  - role: streaming/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 }}"