--- - 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 }}"