Ansible Reference: Module Utilities

This page documents the available utilities called with ansible.module_utils.util_name.

Generic

debug
url
log
no_log
Ansible.get_bin_path

AnsibleModule

ansible.module_utils.basic.AnsibleModule
Utilities in module_utils.basic.AnsibleModule apply to all module types
AnsibleModule.debug
AnsibleModule._debug
AnsibleModule._diff
AnsibleModule.log
AnsibleModule.no_log
AnsibleModule.params
AnsibleModule.run_command
ansible.module_utils.basic.AnsibleModule._selinux_special_fs
(formerly ansible.module_utils.basic.SELINUX_SPECIAL_FS)

Basic

ansible.module_utils.basic
Utilities in module_utils.basic apply to all module types.
ansible.module_utils.basic.SELINUX_SPECIAL_FS
deprecated replaced by ansible.module_utils.basic.AnsibleModule._selinux_special_fs
load_params