diff --git a/handlers/main.yml b/handlers/main.yml index 263d3b07..e6c1878c 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -44,12 +44,3 @@ - name: Veth check command: "/usr/local/bin/lxc-veth-check" - -- name: Destroy base container - lxc_container: - name: "LXC_NAME" - state: absent - register: cache_destroy - retries: 3 - delay: 10 - until: cache_destroy|success diff --git a/tasks/lxc_cache_create.yml b/tasks/lxc_cache_create.yml index 85108de4..1ab9032b 100644 --- a/tasks/lxc_cache_create.yml +++ b/tasks/lxc_cache_create.yml @@ -31,7 +31,6 @@ tar -Opc -C {{ lxc_image_cache_path }} . | {{ lxc_xz_bin }} -{{ lxc_image_compression_ratio }} -c - > rootfs.tar.xz args: chdir: "{{ cache_path_fact }}/" - notify: Destroy base container tags: - skip_ansible_lint