summaryrefslogtreecommitdiff
path: root/dan/ele-helene.yml
blob: a18477b93269a29e1e541f465e2627170bc94017 (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
  - role: core/zsh
  - role: core/cpu-microcode
  - role: core/admin-users
  - role: streaming/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 }}"