Why doesn't ansible have an archive module?
Module has been added in Ansible 2.2 as an extra module, see:
It seems the Ansible folks welcome the idea, but demand has actually not been large enough for someone to step up and create such a module:
- related SO question with source code for
- Module Request: Extract and Archive on GitHub
- trying to write a tar module/action_plugin Ansible mailing list post