ansible/test/integration/targets/unarchive/tasks
Philip Douglass ac5f3f8bef
unarchive - Check 'fut_gid' against 'run_gid' in addition to supplemental groups (#65666)
Add integration tests for unarchiving as unprivileged user
Break tasks into separate files for easier reading and maintenance

Create a user by specifying a default group of 'staff' for macOS.

The user module does not actually remove the user directory on macOS,
so explicitly remove it.

Put the removal tasks in an always block to ensure they always run

Co-authored-by: Philip Douglass <philip.douglass@amadeus.com>
Co-authored-by: Sam Doran <sdoran@redhat.com>
2020-07-30 15:28:05 -04:00
..
main.yml unarchive - Check 'fut_gid' against 'run_gid' in addition to supplemental groups (#65666) 2020-07-30 15:28:05 -04:00
prepare_tests.yml unarchive - Check 'fut_gid' against 'run_gid' in addition to supplemental groups (#65666) 2020-07-30 15:28:05 -04:00
test_download.yml unarchive - Check 'fut_gid' against 'run_gid' in addition to supplemental groups (#65666) 2020-07-30 15:28:05 -04:00
test_exclude.yml unarchive - Check 'fut_gid' against 'run_gid' in addition to supplemental groups (#65666) 2020-07-30 15:28:05 -04:00
test_missing_files.yml unarchive - Check 'fut_gid' against 'run_gid' in addition to supplemental groups (#65666) 2020-07-30 15:28:05 -04:00
test_mode.yml unarchive - Check 'fut_gid' against 'run_gid' in addition to supplemental groups (#65666) 2020-07-30 15:28:05 -04:00
test_non_ascii_filename.yml unarchive - Check 'fut_gid' against 'run_gid' in addition to supplemental groups (#65666) 2020-07-30 15:28:05 -04:00
test_parent_not_writeable.yml unarchive - Check 'fut_gid' against 'run_gid' in addition to supplemental groups (#65666) 2020-07-30 15:28:05 -04:00
test_quotable_characters.yml unarchive - Check 'fut_gid' against 'run_gid' in addition to supplemental groups (#65666) 2020-07-30 15:28:05 -04:00
test_symlink.yml unarchive - Check 'fut_gid' against 'run_gid' in addition to supplemental groups (#65666) 2020-07-30 15:28:05 -04:00
test_tar.yml unarchive - Check 'fut_gid' against 'run_gid' in addition to supplemental groups (#65666) 2020-07-30 15:28:05 -04:00
test_tar_gz.yml unarchive - Check 'fut_gid' against 'run_gid' in addition to supplemental groups (#65666) 2020-07-30 15:28:05 -04:00
test_tar_gz_creates.yml unarchive - Check 'fut_gid' against 'run_gid' in addition to supplemental groups (#65666) 2020-07-30 15:28:05 -04:00
test_tar_gz_keep_newer.yml unarchive - Check 'fut_gid' against 'run_gid' in addition to supplemental groups (#65666) 2020-07-30 15:28:05 -04:00
test_tar_gz_owner_group.yml unarchive - Check 'fut_gid' against 'run_gid' in addition to supplemental groups (#65666) 2020-07-30 15:28:05 -04:00
test_unprivileged_user.yml unarchive - Check 'fut_gid' against 'run_gid' in addition to supplemental groups (#65666) 2020-07-30 15:28:05 -04:00
test_zip.yml unarchive - Check 'fut_gid' against 'run_gid' in addition to supplemental groups (#65666) 2020-07-30 15:28:05 -04:00