diff --git a/tasks/debian_ubuntu.yml b/tasks/debian_ubuntu.yml index de90081..b887820 100644 --- a/tasks/debian_ubuntu.yml +++ b/tasks/debian_ubuntu.yml @@ -116,7 +116,7 @@ sysctl_set: yes state: present reload: yes - with_dict: "{{ NW_HC.sysctl.forwarding.enable | bool }}" + with_dict: "{{ NW_HC.sysctl.forwarding.enable }}" when: NW.support.traffic_forwarding tags: routing @@ -138,7 +138,7 @@ sysctl_set: yes state: present reload: yes - with_dict: "{{ NW_HC.sysctl.ipv6.enable | bool }}" + with_dict: "{{ NW_HC.sysctl.ipv6.enable }}" when: NW.support.ipv6 tags: [routing, interfaces] diff --git a/templates/etc/network/interfaces.d/inc/vlan.j2 b/templates/etc/network/interfaces.d/inc/vlan.j2 index 5d8ddca..72aa782 100644 --- a/templates/etc/network/interfaces.d/inc/vlan.j2 +++ b/templates/etc/network/interfaces.d/inc/vlan.j2 @@ -1,5 +1,5 @@ # vlan settings - # get the current bond-status via: 'cat /proc/net/vlan/{{ name }}' + # get the current vlan-status via: 'cat /proc/net/vlan/{{ name }}' {% if name.find('.') == -1 %} vlan-raw-device {{ iface.vlan-raw-device }} # if the int is a vlan but is not written in the INT.VID syntax - we'll need to define the parent-interface {% endif %} \ No newline at end of file