1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-06-11 02:25:36 +00:00

[PR #12128/a794ccf1 backport][stable-12] zpool: reduce disk usage in integration tests by using sparse files (#12135)

zpool: reduce disk usage in integration tests by using sparse files (#12128)

* zpool: use sparse files in integration tests to reduce diskspace usage

* changelog: add PR link to zpool disk space fragment

* remove changelog fragment for test-only change

(cherry picked from commit a794ccf127)

Co-authored-by: Shreyashxredhat <shrbhosa@redhat.com>
This commit is contained in:
patchback[bot] 2026-05-30 15:11:19 +02:00 committed by GitHub
parent 410383e95f
commit eedba20600
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 2 deletions

View file

@ -11,4 +11,3 @@ skip/macos
skip/rhel
skip/docker
skip/alpine # TODO: figure out what goes wrong
skip/ubuntu26.04 # TODO: VM seems to have less disk space than required

View file

@ -8,7 +8,7 @@
block:
- name: Ensure disk files exists
ansible.builtin.command:
cmd: "dd if=/dev/zero of={{ item }} bs=1M count=256 conv=fsync"
cmd: "truncate -s 256M {{ item }}"
creates: "{{ item }}"
loop: "{{ zpool_disk_configs }}"