Skip to content

Commit

Permalink
zfs_delegate_admin: add diff,hold,release to list of permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
Lauri Tirkkonen authored and lotheac committed May 5, 2020
1 parent 385d03a commit fe94c63
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -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)
7 changes: 4 additions & 3 deletions plugins/modules/storage/zfs/zfs_delegate_admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
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)).
Expand Down Expand Up @@ -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),
Expand Down

0 comments on commit fe94c63

Please sign in to comment.