summaryrefslogtreecommitdiff
path: root/dan/ele-helene.yml
blob: ae3cc83a914b7722ef72d4214cb50350fae1a352 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
- name: Basic Setup
  hosts: ele-helene
  roles:
  - role: base
  - role: sshd
  - 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 }}"