Debian Codegraph @

ansible_collections/community/general/tests/integration/targets/iso_extract/tasks/prepare.yml

raw
1 ---
2 # Test code for the iso_extract module.
3 # Copyright (c) 2017, James Tanner <[email protected]>
4 # Copyright (c) 2017, Dag Wieers <[email protected]>
5 # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
6 # SPDX-License-Identifier: GPL-3.0-or-later
7
8 - name: Make sure our testing sub-directory does not exist
9 file:
10 path: '{{ output_test_dir }}'
11 state: absent
12
13 - name: Create our testing sub-directory
14 file:
15 path: '{{ output_test_dir }}'
16 state: directory
17
18 - name: copy the iso to the test dir
19 copy:
20 src: test.iso
21 dest: '{{ output_test_dir }}'