Debian Codegraph @

ansible_collections/community/general/tests/integration/targets/lvol/tasks/main.yml

raw
1 ---
2 ####################################################################
3 # WARNING: These are designed specifically for Ansible tests #
4 # and should not be used as examples of how to write Ansible roles #
5 ####################################################################
6
7 # Copyright (c) Ansible Project
8 # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
9 # SPDX-License-Identifier: GPL-3.0-or-later
10
11 - name: Install required packages (Linux)
12 package:
13 name: lvm2
14 state: present
15 when: ansible_facts.system == 'Linux'
16
17 - name: Test lvol module
18 block:
19 - import_tasks: setup.yml
20
21 - import_tasks: test_thinpool.yml
22
23 - import_tasks: test_pvs.yml
24
25 always:
26 - import_tasks: teardown.yml