Debian Codegraph @

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

raw
1 ---
2 # Copyright (c) 2025, Tom Hesse <[email protected]>
3 # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
4 # SPDX-License-Identifier: GPL-3.0-or-later
5
6 - name: Execute integration tests
7 become: true
8 block:
9 - name: Ensure disk files exists
10 ansible.builtin.command:
11 cmd: "dd if=/dev/zero of={{ item }} bs=1M count=256 conv=fsync"
12 creates: "{{ item }}"
13 loop: "{{ zpool_disk_configs }}"
14
15 - name: Include distribution specific install_requirements.yml
16 ansible.builtin.include_tasks: install_requirements_{{ ansible_facts.distribution | lower }}.yml
17
18 - name: Include create_destroy.yml
19 ansible.builtin.include_tasks: create_destroy.yml
20
21 - name: Include add_remove_vdevs.yml
22 ansible.builtin.include_tasks: add_remove_vdevs.yml
23
24 - name: Include properties.yml
25 ansible.builtin.include_tasks: properties.yml