You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/user/tasks
Daniel Goldman dbde2c2ae3
user module password expiration fixes (#75390)
* allow inputting 0 for password_expire_{min|max}
   0 is meaningful for min days (any time)   
   0 is technically valid for max_days
* add test for setting both min and max expiry
* [0] return result of execute_command from set_password_expire*
* [1] better return for set_password_expire
* [2] handle returns from set_password_expire*
* only set password expiry if user exists
* collect return-handling code
* combine password min and max into one execution
* handle case where spwd is not present like on macOS and FreeBSD

Co-authored-by: Sam Doran <sdoran@redhat.com>
4 years ago
..
main.yml user module password expiration fixes (#75390) 4 years ago
test_create_system_user.yml user - properly handle password and password lock when used together (#73016) 5 years ago
test_create_user.yml user - properly handle password and password lock when used together (#73016) 5 years ago
test_create_user_home.yml user - properly handle password and password lock when used together (#73016) 5 years ago
test_create_user_password.yml user - properly handle password and password lock when used together (#73016) 5 years ago
test_create_user_uid.yml user - properly handle password and password lock when used together (#73016) 5 years ago
test_expires.yml user - properly handle password and password lock when used together (#73016) 5 years ago
test_expires_min_max.yml user module password expiration fixes (#75390) 4 years ago
test_expires_new_account.yml user - properly handle password and password lock when used together (#73016) 5 years ago
test_expires_new_account_epoch_negative.yml user - properly handle password and password lock when used together (#73016) 5 years ago
test_local.yml Revert "user - consistently create user home directory on Linux (#71952)" (#75704) 4 years ago
test_local_expires.yml user - properly handle password and password lock when used together (#73016) 5 years ago
test_no_home_fallback.yml user - properly handle password and password lock when used together (#73016) 5 years ago
test_password_lock.yml user - properly handle password and password lock when used together (#73016) 5 years ago
test_password_lock_new_user.yml user - properly handle password and password lock when used together (#73016) 5 years ago
test_remove_user.yml user - properly handle password and password lock when used together (#73016) 5 years ago
test_shadow_backup.yml user - properly handle password and password lock when used together (#73016) 5 years ago
test_ssh_key_passphrase.yml Don't use output_dir in target tests (#76107) 4 years ago
test_umask.yml Add umask option to user module (#73821) 5 years ago