Remove old cleaup task

Change-Id: If065bbd51701591c5755278e86423ef46f01f893
This commit is contained in:
Jonathan Rosser 2023-10-10 17:24:44 +01:00
parent 39542e2c65
commit 655818e0a0
1 changed files with 0 additions and 10 deletions

View File

@ -32,16 +32,6 @@
enabled: yes
when: networkmanager_check.rc == 0
# NOTE(noonedeadpunk): Drop after AA release as this task is needed to cleanup older config
- name: Delete previously provisioned lxc-net configuration
file:
path: "{{ item }}"
state: absent
with_items:
- /etc/network/interfaces.d/lxc-net-bridge.cfg
- "/etc/sysconfig/network-scripts/ifcfg-{{ lxc_net_bridge }}"
- "/etc/sysconfig/network-scripts/ifdown-post-{{ lxc_net_bridge }}"
# NOTE(mhayden): There are systemd services that act like ifup/ifdown hooks
# and handle the customized LXC container networking. Starting lxc-net will
# trample over these hooks and cause networking issues for containers.