1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-06-10 18:15:39 +00:00

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
This commit is contained in:
Shreyashxredhat 2026-05-30 18:09:04 +05:30 committed by GitHub
parent e41e76fdf5
commit a794ccf127
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 }}"