mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Rename serange to selevel to be consistent with selinux docs
This commit is contained in:
parent
d7ad85340b
commit
28895f6615
1 changed files with 2 additions and 2 deletions
|
@ -102,8 +102,8 @@ recurse = params.get('recurse', 'false')
|
|||
seuser = params.get('seuser', None)
|
||||
serole = params.get('serole', None)
|
||||
setype = params.get('setype', None)
|
||||
serange = params.get('serange', 's0')
|
||||
secontext = [seuser, serole, setype, serange]
|
||||
selevel = params.get('serange', 's0')
|
||||
secontext = [seuser, serole, setype, selevel]
|
||||
|
||||
if state not in [ 'file', 'directory', 'link', 'absent']:
|
||||
fail_json(msg='invalid state: %s' % state)
|
||||
|
|
Loading…
Reference in a new issue