--- # ifupdown2 and its ifreload are not in the image, and a real reload could cut the # container's own network, so the validate command is `true` and the apply command appends # to a marker file. The role itself (read, render, compare, back up, write, validate, # flush handlers) runs unchanged. - name: Converge the role with a layout of manual interfaces and bridges hosts: all gather_facts: false vars: network_interfaces_validate_command: /bin/true network_interfaces_apply_command: '/bin/sh -c "echo reloaded >> /var/tmp/network-interfaces-reload.log"' network_interfaces_layout: manual: [eno1] bridges: - name: vmbr0 method: static address: 10.0.0.2 netmask: 255.255.255.0 gateway: 10.0.0.1 ports: eno1 stp: "off" vlan_aware: true - name: vmbr1 stp: "on" fd: 5 roles: - role: mortis.kamino.network_interfaces