Debian Codegraph @

ansible_collections/community/general/tests/integration/targets/lvg_rename/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: Test lvg_rename module
19 block:
20 - import_tasks: setup.yml
21
22 - import_tasks: test.yml
23
24 always:
25 - import_tasks: teardown.yml