1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test
Sam Doran df335d91b0
Properly un expire account on creation (#44174)
When creating a new account, check to see if the expiration parameter is negative and pass in the appropriate parameter. Since the negative integer passed into expires is converted to time.struct_time which in turn gets converted to a formatted time string when passed to the underlying command, a -1 or large negative number would result in passing a date before 1970-01-01 to the underlying command.

This had the opposite effect of creating an account with no expiration account resulting in a newly created account that was already expired, or just throwing an error on certain systems.
2018-08-23 12:29:33 -04:00
..
cache Update ansible-test sanity command. (#31958) 2017-10-26 00:21:46 -07:00
integration Properly un expire account on creation (#44174) 2018-08-23 12:29:33 -04:00
legacy Vultr: Introducing vultr_network_facts module (#43600) 2018-08-20 00:29:05 +02:00
results Collect data from integration test runs. (#28650) 2017-08-25 18:14:47 -04:00
runner Includes support for Reverse-Mapping zone in nios_zone module (#44525) 2018-08-23 03:07:30 +00:00
sanity oVirt: Add depracation warning to all modules (#44440) 2018-08-23 09:42:05 -04:00
units New keyword: ignore_unreachable (#43857) 2018-08-23 11:41:02 -04:00
utils Update Shippable integration test groups. (#43118) 2018-07-23 20:46:22 -07:00