From a0ec97553198c432db8f0d4f6b99936221ce53df Mon Sep 17 00:00:00 2001 From: Bjoern Teipel Date: Mon, 19 Oct 2015 17:15:22 -0500 Subject: [PATCH] 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 --- playbooks/roles/lxc_hosts/tasks/lxc_net.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/playbooks/roles/lxc_hosts/tasks/lxc_net.yml b/playbooks/roles/lxc_hosts/tasks/lxc_net.yml index cafbd887d4..1626c74647 100644 --- a/playbooks/roles/lxc_hosts/tasks/lxc_net.yml +++ b/playbooks/roles/lxc_hosts/tasks/lxc_net.yml @@ -44,9 +44,6 @@ mode: "{{ item.mode|default('0644') }}" with_items: - { 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: - lxc-files - lxc-net