mirror of https://github.com/ansible/ansible.git
test-module: check availability of special attrs
parent
5d2927c9a0
commit
7231f7da84
@ -0,0 +1,21 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
|
||||
|
||||
def main():
|
||||
module = AnsibleModule(
|
||||
argument_spec=dict(),
|
||||
)
|
||||
result = {
|
||||
'selinux_special_fs': module._selinux_special_fs,
|
||||
'tmpdir': module._tmpdir,
|
||||
'keep_remote_files': module._keep_remote_files,
|
||||
'version': module.ansible_version,
|
||||
}
|
||||
module.exit_json(**result)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
Loading…
Reference in New Issue