Files modules
- acl – Set and retrieve file ACL information
- archive – Creates a compressed archive of one or more files or trees
- assemble – Assemble configuration files from fragments
- blockinfile – Insert/update/remove a text block surrounded by marker lines
- copy – Copy files to remote locations
- fetch – Fetch files from remote nodes
- file – Manage files and file properties
- find – Return a list of files based on specific criteria
- ini_file – Tweak settings in INI files
- iso_extract – Extract files from an ISO image
- lineinfile – Manage lines in text files
- patch – Apply patch files using the GNU patch tool
- read_csv – Read a CSV file
- replace – Replace all instances of a particular string in a file using a back-referenced regular expression
- stat – Retrieve file or file system status
- synchronize – A wrapper around rsync to make common tasks in your playbooks quick and easy
- tempfile – Creates temporary files and directories
- template – Template a file out to a remote server
- unarchive – Unpacks an archive after (optionally) copying it from the local machine
- xattr – Manage user defined extended attributes
- xml – Manage bits and pieces of XML files or strings
Note
- (D): This marks a module as deprecated, which means a module is kept for backwards compatibility but usage is discouraged. The module documentation details page may explain more about this rationale.
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.8/modules/list_of_files_modules.html