mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
64b57908bc
* Create a module for managing ZFS admin privileges * Actually support check mode in zfs_permissions * Fix Python 2.4 invalid syntax * Update added_version to 2.1 * Remove superflous sys.exit() and add an empty RETURN doc (empty because the module does not return anything other than status-related stuff) * Update version_added since zfs_permissions was not accepted in 2.1. * - Rename zfs_permissions to zfs_delegate_admin to more accurately reflect its purpose. - Update with current Ansible module best practices. - Stop checking whether changes need to be made (this was flawed since it was not able to detect whether, for example, changes would be made with `local=True` when the permissions already existed for `Local+Descendent`. Instead, just make the changes (`zfs allow` is idempotent) and compare the state before and after. - Generally write things in a better way. * Fix test errors * Fix more tests. * Catch exceptions when parsing `zfs allow` output. At least on one version of ZFS (on a 2016 version of illumos) will have a single space in the user or group column if the name can't be resolved by the system's name services). |
||
---|---|---|
.. | ||
ansible |