Remove unnecessary handler
The base container is not created using the LXC tooling, so the handler is now superfluous. Change-Id: I2e025fab3df4980579ec318a7676a4a0832576b1
This commit is contained in:
parent
f72817fc08
commit
f37dffd33c
@ -44,12 +44,3 @@
|
|||||||
|
|
||||||
- name: Veth check
|
- name: Veth check
|
||||||
command: "/usr/local/bin/lxc-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
|
|
||||||
|
@ -31,7 +31,6 @@
|
|||||||
tar -Opc -C {{ lxc_image_cache_path }} . | {{ lxc_xz_bin }} -{{ lxc_image_compression_ratio }} -c - > rootfs.tar.xz
|
tar -Opc -C {{ lxc_image_cache_path }} . | {{ lxc_xz_bin }} -{{ lxc_image_compression_ratio }} -c - > rootfs.tar.xz
|
||||||
args:
|
args:
|
||||||
chdir: "{{ cache_path_fact }}/"
|
chdir: "{{ cache_path_fact }}/"
|
||||||
notify: Destroy base container
|
|
||||||
tags:
|
tags:
|
||||||
- skip_ansible_lint
|
- skip_ansible_lint
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user