ansible/test/integration/targets/user/tasks
Ruediger Pluem 2f7e0b8489
user - consistently create user home directory on Linux (#71952)
Always use create_homedir when we are asked to create a home directory
in the User class. Don't use the -m and -k parameters from
useradd / luseradd as they behave differently with respect to
preexisting home directories. Instead always specify -M to ensure
that useradd / luseradd do not try to create the home directory.

This does not change potential different behaviours in child classes
of the User class.

Consider the new umask option from #73821 in create_homedir as well as
we do not let luseradd / useradd create the home directory any longer.
2021-05-07 17:00:10 -04:00
..
main.yml Add umask option to user module (#73821) 2021-04-20 12:01:56 -04:00
test_create_system_user.yml user - properly handle password and password lock when used together (#73016) 2021-01-11 11:42:35 -05:00
test_create_user.yml user - properly handle password and password lock when used together (#73016) 2021-01-11 11:42:35 -05:00
test_create_user_home.yml user - properly handle password and password lock when used together (#73016) 2021-01-11 11:42:35 -05:00
test_create_user_password.yml user - properly handle password and password lock when used together (#73016) 2021-01-11 11:42:35 -05:00
test_create_user_uid.yml user - properly handle password and password lock when used together (#73016) 2021-01-11 11:42:35 -05:00
test_expires.yml user - properly handle password and password lock when used together (#73016) 2021-01-11 11:42:35 -05:00
test_expires_min_max.yml user - add password expiration parameters (#69531) 2021-02-09 16:41:15 -05:00
test_expires_new_account.yml user - properly handle password and password lock when used together (#73016) 2021-01-11 11:42:35 -05:00
test_expires_new_account_epoch_negative.yml user - properly handle password and password lock when used together (#73016) 2021-01-11 11:42:35 -05:00
test_local.yml user - consistently create user home directory on Linux (#71952) 2021-05-07 17:00:10 -04:00
test_local_expires.yml user - properly handle password and password lock when used together (#73016) 2021-01-11 11:42:35 -05:00
test_local_missing_parent_dir.yml user - consistently create user home directory on Linux (#71952) 2021-05-07 17:00:10 -04:00
test_no_home_fallback.yml user - properly handle password and password lock when used together (#73016) 2021-01-11 11:42:35 -05:00
test_password_lock.yml user - properly handle password and password lock when used together (#73016) 2021-01-11 11:42:35 -05:00
test_password_lock_new_user.yml user - properly handle password and password lock when used together (#73016) 2021-01-11 11:42:35 -05:00
test_remove_user.yml user - properly handle password and password lock when used together (#73016) 2021-01-11 11:42:35 -05:00
test_shadow_backup.yml user - properly handle password and password lock when used together (#73016) 2021-01-11 11:42:35 -05:00
test_ssh_key_passphrase.yml user - properly handle password and password lock when used together (#73016) 2021-01-11 11:42:35 -05:00
test_umask.yml Add umask option to user module (#73821) 2021-04-20 12:01:56 -04:00