This website requires JavaScript.
Explore
Help
Sign in
wbrawner
/
ansible
Watch
1
Star
0
Fork
You've already forked ansible
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
ade5934d33
ansible
/
test
/
integration
/
targets
/
user
/
aliases
3 lines
35 B
Text
Raw
Normal View
History
Unescape
Escape
Only change expiration date if it is different (#38885) (#39575) * Only change expiration date if it is different Modify user_info() method to also return the password expiration. Compare current and desired expiration times and only change if they are different. * Improve formatting on user tests * Add integration test for expiration * Add changelog fragment * Improve integration test Skip macOS and use getent module for validating expiration date. * Fix expiration change for FreeBSD * Don't use datetime since the total_seconds method isn't available on CentOS 6 * Use better name for expiration index field Use separate tasks for verifying expiration date on BSD * Use calendar.timegm() rather than time.mktime() calendar.timegm() is the inverse of time.gmtime() and returns a timestamp in UTC not localtime Add tests that change the system timezone away from UTC * Mark tests as destructive and use test for change status * Fix account expiration for FreeBSD Use DATE_FORMAT when setting expiration date on FreeBSD. Previously the argument passed to -e was an integer of days since epoch when the account will expire which was inserted directly into master.passwd. This value is interpreted as seconds since epoch by the system, meaning the account expiration was actually set to a few hours past epoch. Greatly simply comparing desired and current expiration time by using the first three values of the struct_time tuple rather than doing a whole bunch of manipulations of the seconds since epoch. (cherry picked from commit 5a6bdef76b442f73d47b1d011487a5a30b3f0298)
2018-05-09 14:45:48 +00:00
destructive
Update Shippable integration test groups. (#43118) * Update Shippable integration test groups. * Update integration test group aliases. * Rebalance AWS and Azure tests with extra group. * Rebalance Windows tests with another group. (cherry picked from commit 4e489d1be86a2e8eafce935d91ba4fe096c1b15e)
2018-07-24 03:46:22 +00:00
shippable/posix/group1
Reference in a new issue
Copy permalink