Skip to content
Snippets Groups Projects

networkd: make VLANs more versatile

Merged Hinrikus Wolf requested to merge networkd_vlan into master
All threads resolved!
4 files
+ 14
4
Compare changes
  • Side-by-side
  • Inline
Files
4
+ 2
2
@@ -34,7 +34,7 @@
@@ -34,7 +34,7 @@
group: root
group: root
mode: '0644'
mode: '0644'
with_items: "{{ vlan.vlans }}"
with_items: "{{ vlan.vlans }}"
when: item.bridge
when: item.bridge | default(False)
notify:
notify:
- restart networkd
- restart networkd
- name: ensure bridge networks are configured
- name: ensure bridge networks are configured
@@ -45,6 +45,6 @@
@@ -45,6 +45,6 @@
group: root
group: root
mode: '0644'
mode: '0644'
with_items: "{{ vlan.vlans }}"
with_items: "{{ vlan.vlans }}"
when: item.bridge
when: item.bridge | default(False)
notify:
notify:
- restart networkd
- restart networkd
Loading