mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02: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:
parent
385d03a629
commit
75107c807c
2 changed files with 6 additions and 3 deletions
|
@ -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:
|
description:
|
||||||
- The list of permission(s) to delegate (required if C(state) is C(present)).
|
- The list of permission(s) to delegate (required if C(state) is C(present)).
|
||||||
type: list
|
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:
|
local:
|
||||||
description:
|
description:
|
||||||
- Apply permissions to C(name) locally (C(zfs allow -l)).
|
- Apply permissions to C(name) locally (C(zfs allow -l)).
|
||||||
|
@ -250,8 +250,9 @@ def main():
|
||||||
groups=dict(type='list'),
|
groups=dict(type='list'),
|
||||||
everyone=dict(type='bool', default=False),
|
everyone=dict(type='bool', default=False),
|
||||||
permissions=dict(type='list',
|
permissions=dict(type='list',
|
||||||
choices=['allow', 'clone', 'create', 'destroy', 'mount', 'promote', 'readonly', 'receive',
|
choices=['allow', 'clone', 'create', 'destroy', 'diff', 'hold', 'mount', 'promote',
|
||||||
'rename', 'rollback', 'send', 'share', 'snapshot', 'unallow']),
|
'readonly', 'receive', 'release', 'rename', 'rollback', 'send', 'share',
|
||||||
|
'snapshot', 'unallow']),
|
||||||
local=dict(type='bool'),
|
local=dict(type='bool'),
|
||||||
descendents=dict(type='bool'),
|
descendents=dict(type='bool'),
|
||||||
recursive=dict(type='bool', default=False),
|
recursive=dict(type='bool', default=False),
|
||||||
|
|
Loading…
Reference in a new issue