Skip to content

Commit 19668e6

Browse files
tomhessevbotka
authored andcommitted
New module zpool (ansible-collections#10146)
* Add zpool module * Add botmeta * Use str.format instead of f-strings * Remove nonlocal usage * Add check to only pass ashift to zpool add * Extend ansible_spec and remove unnecessary validation * Apply suggestions and fix style * Fix indentation of yaml lists * Add method to normalize vdevs Fix role: none in vdevs * Use CmdRunner instead of run_command * Fix styling and documentation * Use str.format instead of f-strings * Make sure vdevs are only required when state is present * Add support for loop devices and normalize vdev type * Add integration tests * Add missing test dependencies for alpine and redhat * Skip integration tests on rhel10 until there there packages available * Use package module for better auto detection of package manager on rhel * Add copyright header * Skip tests on rhel and remove redhat install requirements * Ensure loop devices under /dev exist * Enable usage of files as pool devices * Remove disk setup * Use files as disks * Apply suggestions * Fix argument_spec
1 parent cd35195 commit 19668e6

File tree

11 files changed

+1064
-0
lines changed

11 files changed

+1064
-0
lines changed

.github/BOTMETA.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1476,6 +1476,8 @@ files:
14761476
maintainers: natefoo
14771477
$modules/znode.py:
14781478
maintainers: treyperry
1479+
$modules/zpool.py:
1480+
maintainers: tomhesse
14791481
$modules/zpool_facts:
14801482
keywords: beadm dladm illumos ipadm nexenta omnios openindiana pfexec smartos solaris sunos zfs zpool
14811483
labels: solaris

0 commit comments

Comments
 (0)