Files modules¶
- acl – Sets and retrieves file ACL information.
- archive – Creates a compressed archive of one or more files or trees
- assemble – Assembles a configuration file from fragments
- blockinfile – Insert/update/remove a text block surrounded by marker lines
- copy – Copies files to remote locations
- fetch – Fetches a file from remote nodes
- file – Sets attributes of files
- 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
- 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 – Templates 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.