Debian Codegraph @

ansible_collections/community/general/tests/integration/targets/lvm_pv/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) Contributors to the Ansible project
8 # Based on the integraton test for the lvg module
9 # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
10 # SPDX-License-Identifier: GPL-3.0-or-later
11
12 - name: Install required packages (Linux)
13 when: ansible_facts.system == 'Linux'
14 ansible.builtin.package:
15 name: lvm2
16 state: present
17
18 - name: Testing lvm_pv module
19 block:
20 - import_tasks: creation.yml
21
22 - import_tasks: resizing.yml
23
24 - import_tasks: removal.yml
25
26 always:
27 - import_tasks: cleanup.yml