The Python Ansible module_utils.basic.AnsibleModule.backup_local is a function that creates a backup of a file on the local system. It takes in the path to the file as a parameter and creates a backup by appending the current timestamp to the original file name. This function is commonly used in Ansible playbooks or tasks to ensure that important files are backed up before any changes or modifications are made to them.
Python AnsibleModule.backup_local - 33 examples found. These are the top rated real world Python examples of ansible.module_utils.basic.AnsibleModule.backup_local extracted from open source projects. You can rate examples to help us improve the quality of examples.