file - Sets attributes of files

Synopsis

  • Sets attributes of files, symlinks, and directories, or removes files/symlinks/directories.

    Many other modules support the same options as the file module, including copy , template , and assemble .

  • For Windows targets, use the win_file module instead.