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 Jun 9, 2020
1 parent 05aed52 commit 46e5210
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/ansible/modules/storage/zfs/zfs_delegate_admin.py
Expand Up @@ -55,7 +55,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 @@ -251,8 +251,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 46e5210

Please sign in to comment.