mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Cleanup import for sysctl module
This commit is contained in:
committed by
Brian Coca
parent
f9460f3c80
commit
054a3fccf8
@@ -118,6 +118,7 @@ EXAMPLES = '''
|
|||||||
import os
|
import os
|
||||||
import tempfile
|
import tempfile
|
||||||
import re
|
import re
|
||||||
|
from ansible.module_utils.basic import get_platform, AnsibleModule
|
||||||
|
|
||||||
class SysctlModule(object):
|
class SysctlModule(object):
|
||||||
|
|
||||||
@@ -382,6 +383,5 @@ def main():
|
|||||||
module.exit_json(changed=result.changed)
|
module.exit_json(changed=result.changed)
|
||||||
|
|
||||||
# import module snippets
|
# import module snippets
|
||||||
from ansible.module_utils.basic import *
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
main()
|
main()
|
||||||
|
|||||||
Reference in New Issue
Block a user