mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-03-27 05:43:09 +00:00
zfs_delegate_admin: add diff,hold,release to list of permissions (#278)
Co-authored-by: Lauri Tirkkonen <lauri@tuxera.com>
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- zfs_delegate_admin - add missing choices diff/hold/release to the permissions parameter (https://github.com/ansible-collections/community.general/pull/278)
|
||||
@@ -54,7 +54,7 @@ options:
|
||||
description:
|
||||
- The list of permission(s) to delegate (required if C(state) is C(present)).
|
||||
type: list
|
||||
choices: [ allow, clone, create, destroy, mount, promote, readonly, receive, rename, rollback, send, share, snapshot, unallow ]
|
||||
choices: [ allow, clone, create, destroy, diff, hold, mount, promote, readonly, receive, release, rename, rollback, send, share, snapshot, unallow ]
|
||||
local:
|
||||
description:
|
||||
- Apply permissions to C(name) locally (C(zfs allow -l)).
|
||||
@@ -250,8 +250,9 @@ def main():
|
||||
groups=dict(type='list'),
|
||||
everyone=dict(type='bool', default=False),
|
||||
permissions=dict(type='list',
|
||||
choices=['allow', 'clone', 'create', 'destroy', 'mount', 'promote', 'readonly', 'receive',
|
||||
'rename', 'rollback', 'send', 'share', 'snapshot', 'unallow']),
|
||||
choices=['allow', 'clone', 'create', 'destroy', 'diff', 'hold', 'mount', 'promote',
|
||||
'readonly', 'receive', 'release', 'rename', 'rollback', 'send', 'share',
|
||||
'snapshot', 'unallow']),
|
||||
local=dict(type='bool'),
|
||||
descendents=dict(type='bool'),
|
||||
recursive=dict(type='bool', default=False),
|
||||
|
||||
Reference in New Issue
Block a user