ansible/test/integration/targets
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
..
add_host Add intg test to repro #36045 (add_host traceback) (#69912) 2020-06-09 15:25:56 -04:00
ansiballz_python
ansible Add collection path in CLI version info (#68633) 2020-06-25 01:58:56 -04:00
ansible-doc ansible-doc: include collection name in text output (#70401) 2020-07-10 22:52:47 +02:00
ansible-galaxy Fix galaxy role info bug to support multiple roles (#70148) 2020-06-23 16:57:25 -04:00
ansible-galaxy-collection fix downloading collections in git repos and tar.gz artifacts (#70524) 2020-07-30 13:55:29 -04:00
ansible-galaxy-collection-scm fix downloading collections in git repos and tar.gz artifacts (#70524) 2020-07-30 13:55:29 -04:00
ansible-runner ansible_runner test - Add constraints (#70667) 2020-07-15 18:22:44 -04:00
ansible-test Rename pylint plugin and add tests. (#70225) 2020-06-22 20:25:35 -07:00
ansible-test-docker Update ansible-test integration tests. (#69970) 2020-06-09 11:16:48 -07:00
any_errors_fatal
apt apt - add fail_on_autoremove option to avoid unintended package removals (#70056) 2020-06-30 09:53:14 -04:00
apt_key Replace filename with file in apt_key (#70492) 2020-07-10 12:42:49 -04:00
apt_repository Change default file permissions so they are not world readable (#70221) 2020-07-22 17:05:38 -04:00
args
assemble Fix decrypt argument in assemble module (#70465) 2020-07-09 15:24:12 -04:00
assert Testing: Add support for AIX platform (#65802) 2020-01-29 15:56:51 -08:00
async Add intentional coverage for an async_wrapper case (#70593) 2020-07-13 11:58:14 -05:00
async_extra_data
async_fail More boilerplate fixes. (#70224) 2020-06-22 19:05:30 -07:00
become
become_unprivileged Refactor _fixup_perms2 to remove way-nested logic (#70701) 2020-07-20 18:46:47 -05:00
binary
binary_modules Add new arches/OSes for binary_modules tests (#69052) 2020-04-21 00:52:23 -07:00
binary_modules_posix Add new arches/OSes for binary_modules tests (#69052) 2020-04-21 00:52:23 -07:00
binary_modules_winrm
blockinfile blockinfile - fix line end regression (#69734) 2020-05-27 16:54:38 -04:00
blocks Detect failure in always block after rescue (#70094) 2020-06-18 11:03:36 -05:00
builtin_vars_prompt More boilerplate fixes. (#70224) 2020-06-22 19:05:30 -07:00
callback_default Rebalance CI groups to avoid macOS timeouts (#70126) 2020-06-19 16:40:51 -04:00
changed_when Allow changed/failed mgmt on strategy actions (#70919) 2020-07-29 10:44:46 -04:00
check_mode
cli Fix ansible -K become_pass regression (#69629) 2020-05-22 09:34:26 -04:00
collections refactor Python module_utils locator (#70610) 2020-07-16 17:57:47 -07:00
collections_plugin_namespace config: singular ANSIBLE_COLLECTIONS_PATH (#70007) 2020-06-11 11:40:13 -07:00
collections_relative_imports config: singular ANSIBLE_COLLECTIONS_PATH (#70007) 2020-06-11 11:40:13 -07:00
collections_runtime_pythonpath config: singular ANSIBLE_COLLECTIONS_PATH (#70007) 2020-06-11 11:40:13 -07:00
command_shell Deprecate command warnings feature (#70504) 2020-07-07 18:40:38 -05:00
conditionals
config Fix missing quoting for remote_tmp in second mkdir of shell module. Issue #69577 (#69578) 2020-07-20 11:25:29 -05:00
connection Do not add connection vars to the output results (#70853) 2020-07-24 09:53:08 +10:00
connection_local
connection_paramiko_ssh
connection_posix
connection_psrp
connection_ssh Rebalance CI groups to avoid macOS timeouts (#70126) 2020-06-19 16:40:51 -04:00
connection_windows_ssh
connection_winrm
copy Fix string/bytestring comparsion in m_u.basic (#70439) 2020-07-07 11:48:05 -04:00
cron cron - Allow non-ascii (UTF-8) chars in cron file paths and jobs (#70426) 2020-07-21 15:00:21 -04:00
dataloader preserve json parsing error (#58461) 2020-05-01 15:03:07 -04:00
debconf
debug
delegate_to Allow hostvars delegation (#70331) 2020-07-22 11:13:57 -04:00
dnf [dnf] show installations/removals in check_mode (#70892) 2020-07-28 11:23:55 -04:00
dpkg_selections
egg-info Fix references to old egg-info directory. 2020-03-30 13:56:43 -07:00
embedded_module
environment
error_from_connection Fix transport defs in test connection plugins. 2020-06-18 11:50:51 -07:00
expect More boilerplate fixes. (#70224) 2020-06-22 19:05:30 -07:00
facts_d
facts_linux_network linux facts - return proper broadcast address (#64528) 2020-07-30 19:40:14 +02:00
failed_when
fetch fixed fetch traversal from slurp (#68720) 2020-04-08 14:28:51 -04:00
file file - return 'state': 'absent' when a file does not exist (#66503) 2020-05-21 16:35:45 -04:00
filter_core Make filter type errors 'loop friendly' (#70417) 2020-07-10 18:49:57 -04:00
filter_mathstuff Make filter type errors 'loop friendly' (#70417) 2020-07-10 18:49:57 -04:00
filter_urls coverage for filter/urls.py, including fallback to custom implementations (#68412) 2020-03-25 16:23:14 -05:00
filter_urlsplit
find Don't treat empty excludes as a match. Fixes #70640 (#70710) 2020-07-17 17:34:24 -04:00
gathering
gathering_facts Get m_u.facts.utils coverage up to 100% (#70614) 2020-07-13 16:52:56 -07:00
get_url More boilerplate fixes. (#70224) 2020-06-22 19:05:30 -07:00
getent
git git: verify, only use --raw when we need it (#70900) 2020-07-29 10:45:51 -05:00
group More boilerplate fixes. (#70224) 2020-06-22 19:05:30 -07:00
group_by return changed for group_by (#32057) 2020-06-03 12:46:40 -04:00
groupby_filter
handler_race Split regular and handler results into their own queues (#69498) 2020-05-21 15:55:08 -05:00
handlers
hash
hostname hostname: hostnamectl check -> SystemdStrategy (#70532) 2020-07-09 20:04:23 -05:00
hosts_field
ignore_errors
ignore_unreachable More boilerplate fixes. (#70224) 2020-06-22 19:05:30 -07:00
incidental_aws_codebuild
incidental_aws_step_functions_state_machine support hard coded module_defaults.yml groups for collections (#69919) 2020-06-09 15:38:57 -07:00
incidental_azure_rm_mariadbserver
incidental_azure_rm_resource
incidental_cloud_init_data_facts
incidental_cloudformation support hard coded module_defaults.yml groups for collections (#69919) 2020-06-09 15:38:57 -07:00
incidental_connection_chroot
incidental_consul Testing: Add support for CentOS Linux On Power platform (#68130) 2020-04-15 16:22:17 -07:00
incidental_cs_common
incidental_cs_role_permission
incidental_cs_service_offering
incidental_deploy_helper
incidental_ec2_instance support hard coded module_defaults.yml groups for collections (#69919) 2020-06-09 15:38:57 -07:00
incidental_flatpak_remote
incidental_hcloud_server disable slow/unstable hetzner incidental tests (#70103) 2020-06-16 16:30:56 -07:00
incidental_inventory_aws_ec2
incidental_inventory_docker_swarm Testing: Add support for CentOS Linux On Power platform (#68130) 2020-04-15 16:22:17 -07:00
incidental_inventory_foreman
incidental_inventory_vmware_vm_inventory
incidental_ios_file
incidental_k8s Fix code coverage in tests. 2020-03-26 22:41:12 -07:00
incidental_lookup_hashi_vault Testing: Add support for CentOS Linux On Power platform (#68130) 2020-04-15 16:22:17 -07:00
incidental_lvg
incidental_mongodb_parameter
incidental_nios_prepare_tests
incidental_nios_txt_record
incidental_postgresql_user
incidental_script_inventory_vmware_inventory More boilerplate fixes. (#70224) 2020-06-22 19:05:30 -07:00
incidental_selinux
incidental_setup_docker Pin Docker version at 19.03.1 2020-05-20 15:10:41 -07:00
incidental_setup_ec2
incidental_setup_flatpak_remote
incidental_setup_mongodb
incidental_setup_mysql_db Update docker.txt to use the OpenSUSE 15.1 container image (devel edition) (#68785) 2020-04-09 00:26:59 -07:00
incidental_setup_openssl Revert "Cap cryptography version for macOS openssl test (#69083)" (#69126) 2020-04-23 08:49:09 -05:00
incidental_setup_postgresql_db Improve stability of postgresql tests. 2020-06-16 16:29:25 -07:00
incidental_setup_rabbitmq
incidental_setup_tls
incidental_setup_zabbix
incidental_sts_assume_role
incidental_synchronize
incidental_timezone Add Fedora 32 to CI (#69222) 2020-05-08 18:59:43 -05:00
incidental_tower_credential_type
incidental_tower_receive
incidental_ufw Remove remaining examples of 1.1.1.1 (#70552) 2020-07-14 11:19:59 -04:00
incidental_vmware_guest
incidental_vmware_guest_custom_attributes
incidental_vmware_host_hyperthreading
incidental_vmware_prepare_tests ansible-test: vcenter initialize group/vmware (#70011) 2020-06-11 12:21:44 -04:00
incidental_vyos_config
incidental_vyos_lldp_interfaces
incidental_vyos_logging
incidental_vyos_prepare_tests
incidental_vyos_static_route
incidental_win_copy
incidental_win_data_deduplication
incidental_win_dsc
incidental_win_hosts
incidental_win_lineinfile
incidental_win_ping
incidental_win_prepare_tests
incidental_win_psexec
incidental_win_reboot
incidental_win_security_policy
incidental_xml Deprecation revisited (#69926) 2020-06-09 15:21:19 -07:00
incidental_zabbix_host
include_import Rebalance CI groups to avoid macOS timeouts (#70126) 2020-06-19 16:40:51 -04:00
include_parent_role_vars
include_vars
include_vars-ad-hoc
include_when_parent_is_dynamic Add dynamic and static include tests. (#68200) 2020-03-23 11:14:21 -05:00
include_when_parent_is_static Add dynamic and static include tests. (#68200) 2020-03-23 11:14:21 -05:00
includes
includes_race Fix IncludedFile equality check (#69524) 2020-06-04 10:41:46 -05:00
infra More boilerplate fixes. (#70224) 2020-06-22 19:05:30 -07:00
interpreter_discovery_python
interpreter_discovery_python_delegate_facts Fix delegate_facts with interpreter not being set (#70293) 2020-06-30 15:49:09 +02:00
inventory
inventory_ini Make sure ansible_become treated as a boolean (#70484) 2020-07-08 14:53:38 -04:00
inventory_yaml
jinja2_native_types native types: literal_eval all the things (#68938) 2020-04-17 14:59:52 +02:00
known_hosts
limit_inventory
lineinfile
lookup_config coverage for lookup_config (#68566) 2020-03-31 09:57:50 -05:00
lookup_csvfile Some more coverage for csvfile (#70661) 2020-07-15 14:44:52 -05:00
lookup_dict
lookup_env
lookup_file
lookup_fileglob Correct name of fileglob lookup integration test. 2020-07-09 12:28:06 -07:00
lookup_first_found
lookup_indexed_items
lookup_ini
lookup_inventory_hostnames inventory_hostnames lookup plugin -> 100% coverage (#70628) 2020-07-15 11:31:48 -05:00
lookup_items
lookup_lines
lookup_list coverage for lookup_list (#68683) 2020-04-06 13:39:18 -05:00
lookup_nested
lookup_password
lookup_pipe
lookup_random_choice
lookup_sequence
lookup_subelements Get subelements lookup plugin coverage to 100% (#70634) 2020-07-15 11:00:57 -05:00
lookup_template
lookup_together
lookup_unvault added unvault lookup plugin (#69087) 2020-05-14 11:19:19 -04:00
lookup_url
lookup_varnames varnames: add tests, fix exception grammar (#70573) 2020-07-10 21:04:02 -05:00
lookup_vars
loop_control
loops
meta_tasks
module_defaults support hard coded module_defaults.yml groups for collections (#69919) 2020-06-09 15:38:57 -07:00
module_no_log Add more integration tests. (#68972) 2020-04-16 00:53:08 -07:00
module_precedence More boilerplate fixes. (#70224) 2020-06-22 19:05:30 -07:00
module_tracebacks
module_utils refactor Python module_utils locator (#70610) 2020-07-16 17:57:47 -07:00
module_utils_Ansible.AccessToken
module_utils_Ansible.Basic Deprecation revisited (#69926) 2020-06-09 15:21:19 -07:00
module_utils_Ansible.Become
module_utils_Ansible.ModuleUtils.AddType
module_utils_Ansible.ModuleUtils.ArgvParser
module_utils_Ansible.ModuleUtils.Backup
module_utils_Ansible.ModuleUtils.CamelConversion
module_utils_Ansible.ModuleUtils.CommandUtil
module_utils_Ansible.ModuleUtils.FileUtil
module_utils_Ansible.ModuleUtils.Legacy
module_utils_Ansible.ModuleUtils.LinkUtil
module_utils_Ansible.ModuleUtils.PrivilegeUtil
module_utils_Ansible.ModuleUtils.SID
module_utils_Ansible.ModuleUtils.WebRequest Ansible.Basic added generic fragment merger for module options (#69719) 2020-05-29 16:11:38 +10:00
module_utils_Ansible.Privilege
module_utils_Ansible.Process
module_utils_Ansible.Service
module_utils_basic Fix warning for new default permissions when mode is not specified (#70976) 2020-07-30 00:05:29 -04:00
network_cli Fix network_cli test to use a trap for cleanup (#69762) 2020-05-29 15:45:33 -05:00
no_log
old_style_cache_plugins
old_style_modules_posix
omit
order
package Enable passing tests on power. 2020-04-20 10:07:54 -07:00
package_facts
parsing
path_lookups
path_with_comma_in_inventory
pause More boilerplate fixes. (#70224) 2020-06-22 19:05:30 -07:00
ping
pip pip tests, use py2 compat sampleproject fork (#70313) 2020-06-25 22:38:17 -05:00
play_iterator Fix --start-at-task when skipping tasks with no name (#68951) 2020-04-21 09:39:17 +02:00
playbook fix internal cases of actions calling unqualified module names (#70818) 2020-07-23 09:02:57 -07:00
plugin_config_for_inventory
plugin_filtering
plugin_loader
plugin_namespace
prepare_http_tests
prepare_tests/tasks
pull
raw update ActionBase._low_level_execute_command to honor executable (#68315) 2020-04-22 11:56:35 -05:00
reboot
rel_plugin_loading
remote_tmp
replace
retry_task_name_in_callback
roles
rpm_key
run_modules More boilerplate fixes. (#70224) 2020-06-22 19:05:30 -07:00
script More boilerplate fixes. (#70224) 2020-06-22 19:05:30 -07:00
service More boilerplate fixes. (#70224) 2020-06-22 19:05:30 -07:00
service_facts Handle disabled service units (#69349) 2020-06-01 09:40:52 -04:00
set_fact implemented 'prefix' for file based cache (#69872) 2020-06-11 10:40:25 -04:00
setup_cron
setup_deb_repo
setup_epel/tasks
setup_nobody
setup_paramiko
setup_passlib/tasks
setup_pexpect/tasks
setup_remote_constraints
setup_remote_tmp_dir
setup_rpm_repo More boilerplate fixes. (#70224) 2020-06-22 19:05:30 -07:00
setup_win_printargv
shell Fix transport defs in test connection plugins. 2020-06-18 11:50:51 -07:00
slurp
special_vars
stat stat: Handle colon in filename (#70259) 2020-06-25 14:21:50 -05:00
strategy_linear
subversion subversion Give subversion module a validate_certs option (#70890) 2020-07-27 14:18:54 -04:00
systemd systemd: should fail in check_mode when service not found on host (#68136) 2020-06-02 11:52:12 -04:00
tags Update docs for --tags default, and add some tests (#70939) 2020-07-29 17:16:57 -05:00
task_ordering
tasks Add more integration tests. (#68972) 2020-04-16 00:53:08 -07:00
template More boilerplate fixes. (#70224) 2020-06-22 19:05:30 -07:00
template_jinja2_latest
templating_lookups Handle post_validate templating errors and fix tests (#70240) 2020-06-30 09:31:58 -04:00
templating_settings
test_core Add integration tests for test plugins. (#70576) 2020-07-10 18:48:51 -07:00
test_files Add integration tests for test plugins. (#70576) 2020-07-10 18:48:51 -07:00
test_mathstuff Add integration tests for test plugins. (#70576) 2020-07-10 18:48:51 -07:00
throttle
unarchive unarchive - Check 'fut_gid' against 'run_gid' in addition to supplemental groups (#65666) 2020-07-30 15:28:05 -04:00
unicode Ensure --version works with non-ascii project path (#66624) 2020-05-29 14:42:44 -04:00
until
uri More boilerplate fixes. (#70224) 2020-06-22 19:05:30 -07:00
user user - Create home and parent directories only when requested (#70600) 2020-07-21 15:50:44 -04:00
var_blending
var_precedence More boilerplate fixes. (#70224) 2020-06-22 19:05:30 -07:00
var_templating Fix verbosity for var_templating test (#70943) 2020-07-28 12:02:43 -05:00
vault Allow single vault encrypted values to be used directly as module parameters. Fixes #68275 (#70607) 2020-07-14 11:56:26 -04:00
wait_for More boilerplate fixes. (#70224) 2020-06-22 19:05:30 -07:00
wait_for_connection
want_json_modules_posix More boilerplate fixes. (#70224) 2020-06-22 19:05:30 -07:00
win_async_wrapper
win_become
win_exec_wrapper windows - fix up env var quoting for unicode single quotes (#68968) 2020-04-16 20:24:23 +10:00
win_fetch Consolidate Windows tests to one group. 2020-03-23 11:14:21 -05:00
win_module_utils
win_raw
win_script
windows-minimal
windows-paths
yum [yum] Make package removal confirmation strict (#69592) 2020-05-26 14:47:39 -04:00
yum_repository Add new option for YUM4/DNF repositories (#70042) 2020-06-30 15:48:36 -04:00