ansible-collections / community.general

Ansible Community General Collection
https://galaxy.ansible.com/ui/repo/published/community/general/
GNU General Public License v3.0
811 stars 1.49k forks source link

Support creating ZFS snapshots recursively #7395

Open Spanfile opened 10 months ago

Spanfile commented 10 months ago

Summary

Support creating ZFS snapshots recursively on all descendant datasets with the -r option for the zfs snapshot command, i.e. zfs snapshot -r tank/dataset@now. The recursion could be controlled with a recurse parameter on the module.

Issue Type

Feature Idea

Component Name

zfs

Additional Information

- name: Create snapshots on dataset and all its descendants
  community.general.zfs:
    name: tank/dataset@now
    state: present
    recurse: true

Code of Conduct

ansibullbot commented 10 months ago

Files identified in the description:

If these files are incorrect, please update the component name section of the description or use the !component bot command.

click here for bot help

ansibullbot commented 10 months ago

cc @bcoca @fishman @jasperla @jpdasma @mator @scathatheworm @troy2914 @xen0l click here for bot help

Spanfile commented 10 months ago

!component =plugins/modules/zfs.py

ansibullbot commented 10 months ago

Files identified in the description:

If these files are incorrect, please update the component name section of the description or use the !component bot command.

click here for bot help

ansibullbot commented 10 months ago

cc @johanwiren click here for bot help