All modules — Ansible Documentation
docs.ansible.com › ansible › 2Dec 02, 2020 · ovirt_snapshot – Module to manage Virtual Machine Snapshots in oVirt/RHV. ovirt_snapshot_facts – Retrieve facts about one or more oVirt/RHV virtual machine snapshots. ovirt_storage_connection – Module to manage storage connections in oVirt. ovirt_storage_domain – Module to manage storage domains in oVirt/RHV.
Ansible module architecture — Ansible Documentation
docs.ansible.com › ansible › latestargument_spec = {'path': {'type': 'str', 'required': True,},} module = AnsibleModule (argument_spec, add_file_common_args = True) changed = False # TODO do something with module.params['path'], like update it's contents # Ensure that module.params['path'] satisfies the file options supplied by the user file_args = module. load_file_common_arguments (module. params) changed = module. set_fs_attributes_if_different (file_args, changed) module. exit_json (changed = changed)