ansible/lib/ansible
Sam Doran c4f442ed5a
facts - fix incorrect time for some date_time_facts (#70665)
The iso8601_micro and iso8601 facts incorrectly called now.utcnow(), resulting
in a new timestamp at the time it was called, not a conversion of the previously
stored timestamp.

Correct this by capturing the UTC timestamp once then calculating the local
time using the UTC offset of the current system.

* Use time.time() for getting the current time
* Convert from that stored epoch timestamp to local and UTC times
* Used existing timestamp for epoch time
* Add unit tests that validate the formate of the return value rather than an exact value since mocking time and timezone is non-trivial
2020-07-30 11:39:58 -04:00
..
_vendor transparent downstream vendoring (#69850) 2020-06-15 16:22:25 -07:00
cli Update docs for --tags default, and add some tests (#70939) 2020-07-29 17:16:57 -05:00
collections collection routing (#67684) 2020-05-26 09:42:06 -07:00
compat Updated bundled libraries (#70418) 2020-07-02 12:39:00 -05:00
config [ansible_builtin_runtime.yml] fix text[fs]m typo (#70893) 2020-07-25 17:44:43 -05:00
errors Make filter type errors 'loop friendly' (#70417) 2020-07-10 18:49:57 -04:00
executor ansiballz - remove deprecated excommunicate command (#70921) 2020-07-29 12:05:12 -04:00
galaxy ansible-galaxy - fix fallback for AH searches (#70957) 2020-07-30 07:28:43 +10:00
inventory return changed for group_by (#32057) 2020-06-03 12:46:40 -04:00
module_utils facts - fix incorrect time for some date_time_facts (#70665) 2020-07-30 11:39:58 -04:00
modules Support manjaro arm in hostname module (#69861) 2020-07-30 13:52:19 +05:30
parsing Plugin/module docs: parse return values, add collection names in them (version_added_collection), and format them nicely in ansible-doc (#69796) 2020-06-11 11:03:43 -07:00
playbook Raise Warning when import_playbook receives additional parameters (#64156) 2020-06-10 13:22:40 -04:00
plugins package - use existing list of package manages from facts (#70920) 2020-07-29 12:08:11 -04:00
template Deprecation revisited (#69926) 2020-06-09 15:21:19 -07:00
utils reset logging to INFO (#70878) 2020-07-24 15:53:17 -04:00
vars Allow hostvars delegation (#70331) 2020-07-22 11:13:57 -04:00
__init__.py transparent downstream vendoring (#69850) 2020-06-15 16:22:25 -07:00
constants.py Remove some constants.py deprecated items (#70466) 2020-07-07 18:41:19 -05:00
context.py
release.py Bump devel to 2.11.0 (#70121) 2020-06-17 14:22:38 -05:00