Archived files have incorrect timestamp when I use archive module from Ansible Tower

Solution In Progress - Updated -

Issue

When I use archive module to create zip or other archive format, I can see the incorrect timestamp when I extracted the archive file.

In the following case, The tower node is using "Asia/Tokyo" timezone (UTC+9) and the timestamp of extracted_file should be 11:15(localtime), but it is 02:15(localtime-9).

# ls -la
-rw-r--r--   1 root     root         9 Mar 13 02:15 extracted_file
-rw-r--r--   1 root     root       115 Mar 13 12:02 archive.zip

Environment

Ansible Tower >= 3.3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content