unarchive - Unpacks an archive after (optionally) copying it from the local machine

Synopsis

  • The unarchive module unpacks an archive.

  • By default, it will copy the source file from the local system to the target before unpacking.

  • Set remote_src=yes to unpack an archive which already exists on the target.

  • For Windows targets, use the win_unzip module instead.