Set one parameter to be type path
This commit is contained in:
parent
249b9511a5
commit
646d0e406d
1 changed files with 4 additions and 3 deletions
|
@ -348,7 +348,7 @@ def main():
|
|||
reload = dict(default=True, type='bool'),
|
||||
sysctl_set = dict(default=False, type='bool'),
|
||||
ignoreerrors = dict(default=False, type='bool'),
|
||||
sysctl_file = dict(default='/etc/sysctl.conf')
|
||||
sysctl_file = dict(default='/etc/sysctl.conf', type='path')
|
||||
),
|
||||
supports_check_mode=True
|
||||
)
|
||||
|
@ -359,4 +359,5 @@ def main():
|
|||
|
||||
# import module snippets
|
||||
from ansible.module_utils.basic import *
|
||||
main()
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
Loading…
Reference in a new issue