Debian Codegraph @

ansible_collections/community/general/tests/integration/targets/lvg/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 lvg module
18 block:
19 - import_tasks: setup.yml
20
21 - import_tasks: setup_missing_pv.yml
22
23 - import_tasks: test_indempotency.yml
24
25 - import_tasks: test_grow_reduce.yml
26
27 - import_tasks: test_remove_extra_pvs.yml
28
29 - import_tasks: test_pvresize.yml
30
31 - import_tasks: test_active_change.yml
32
33 - import_tasks: test_active_create.yml
34
35 - import_tasks: test_uuid_reset.yml
36 always:
37 - import_tasks: teardown.yml
38
39 - import_tasks: teardown_missing_pv.yml