Debian Codegraph @

ansible_collections/community/general/tests/integration/targets/lvm_pv/tasks/cleanup.yml

raw
1 ---
2 # Copyright (c) Ansible Project
3 # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
4 # SPDX-License-Identifier: GPL-3.0-or-later
5
6 - name: Detaching loop device
7 ansible.builtin.command: losetup -d {{ loop_device.stdout }}
8
9 - name: Removing loop device file
10 ansible.builtin.file:
11 path: "{{ remote_tmp_dir }}/test_lvm_pv.img"
12 state: absent