Always drop lxc_net bridge configuration
This patch makes sure that the lxc_net play does always write the LXC bridge-interface configuration regardless of it's admin state. This is particular important after we deactivate the lxc-net systemd script as part of the LXC network configuration. Closes-Bug: #1507795 Change-Id: I9547fe02e20e8d1690340e1193b2453997ada25c
This commit is contained in:
@@ -44,9 +44,6 @@
|
|||||||
mode: "{{ item.mode|default('0644') }}"
|
mode: "{{ item.mode|default('0644') }}"
|
||||||
with_items:
|
with_items:
|
||||||
- { src: lxc-net-bridge.cfg.j2, dest: "/etc/network/interfaces.d/lxc-net-bridge.cfg" }
|
- { src: lxc-net-bridge.cfg.j2, dest: "/etc/network/interfaces.d/lxc-net-bridge.cfg" }
|
||||||
when: bridge_check.state == "absent"
|
|
||||||
notify:
|
|
||||||
- Bring bridge up
|
|
||||||
tags:
|
tags:
|
||||||
- lxc-files
|
- lxc-files
|
||||||
- lxc-net
|
- lxc-net
|
||||||
|
|||||||
Reference in New Issue
Block a user