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
Sam Doran 5cb96087e6
Fix warning for new default permissions when mode is not specified (#70976) (#70985)
Follow up to #70221
Related to #67794
CVE-2020-1736

When set_mode_if_different() is called with mode of 'None', ensure we issue
a warning about the change in default permissions.

Add integration tests to ensure the warning works properly.

* Fix tests
- actually use custom module 🤦‍♂️
- verify file permission on created files
- use remote_tmp_dir so we're ready for split controller
- improve test module so we can skip the call to set_fs_attributes_if_different()
- fix tests for CentOS 6

(cherry picked from commit dc79528cc6)
4 years ago
..
add_host Add intg test to repro #36045 (add_host traceback) (#69912) 5 years ago
ansiballz_python Testing: Add support for AIX platform (#65802) 5 years ago
ansible adhoc: Load callbacks before sending v2_playbook_on_start (#67673) 5 years ago
ansible-doc [2.10] ansible-doc: include collection name in text output / plugin loader: return collection name; ansible-doc: handle ansible.builtin correctly (#70572) 4 years ago
ansible-galaxy [stable-2.10] Rebalance CI groups to avoid macOS timeouts (#70126) 5 years ago
ansible-galaxy-collection ansible-galaxy - fix fallback for AH searches (#70957) - 2.10 (#70980) 4 years ago
ansible-galaxy-collection-scm [2.10] Improve ansible-galaxy STDOUT messages for collections (#70379) 4 years ago
ansible-runner [stable-2.10] ansible_runner test - Add constraints (#70667) (#70669) 4 years ago
ansible-test validate ansible-base's and collections runtime.yml (#69742) 5 years ago
ansible-test-docker Update ansible-test integration tests. (#69970) 5 years ago
any_errors_fatal Clean up unused config usage in integration tests. 5 years ago
apt Test installing a .deb that has deps, from a URL (#68332) 5 years ago
apt_key Testing: Add support for AIX platform (#65802) 5 years ago
apt_repository [stable-2.10] Change default file permissions so they are not world readable (#70221) (#70824) 4 years ago
args
assemble Fix decrypt argument in assemble module (#70465) (#70560) 4 years ago
assert Testing: Add support for AIX platform (#65802) 5 years ago
async Add intentional coverage for an async_wrapper case (#70593) (#70630) 4 years ago
async_extra_data Expand Shippable test matrix. (#66912) 5 years ago
async_fail
become Testing: Add support for AIX platform (#65802) 5 years ago
binary
binary_modules Add new arches/OSes for binary_modules tests (#69052) 5 years ago
binary_modules_posix Add new arches/OSes for binary_modules tests (#69052) 5 years ago
binary_modules_winrm
blockinfile blockinfile - fix line end regression (#69734) 5 years ago
blocks 2.10: Detect failure in always block after rescue (#70094) (#70204) 4 years ago
builtin_vars_prompt Rename tests (#68356) 5 years ago
callback_default [stable-2.10] Rebalance CI groups to avoid macOS timeouts (#70126) 5 years ago
changed_when Allow changed/failed mgmt on strategy actions (#70919) (#70968) 4 years ago
check_mode
cli Fix `ansible -K` become_pass regression (#69629) 5 years ago
collections refactor Python module_utils locator (#70610) (#70711) 4 years ago
collections_plugin_namespace config: singular ANSIBLE_COLLECTIONS_PATH (#70007) 5 years ago
collections_relative_imports config: singular ANSIBLE_COLLECTIONS_PATH (#70007) 5 years ago
collections_runtime_pythonpath config: singular ANSIBLE_COLLECTIONS_PATH (#70007) 5 years ago
command_shell Testing: Add support for AIX platform (#65802) 5 years ago
conditionals
config Fix missing quoting for remote_tmp in second mkdir of shell module. Issue #69577 (#69578) (#70757) 4 years ago
connection Do not add connection vars to the output results (#70853) (#70855) 4 years ago
connection_local
connection_paramiko_ssh Testing: Add support for AIX platform (#65802) 5 years ago
connection_posix Simplify ansible-test target processing. (#61506) 5 years ago
connection_psrp Update ansible-test --windows inventory creation. (#60911) 5 years ago
connection_ssh [stable-2.10] Rebalance CI groups to avoid macOS timeouts (#70126) 5 years ago
connection_windows_ssh Update ansible-test --windows inventory creation. (#60911) 5 years ago
connection_winrm Update ansible-test --windows inventory creation. (#60911) 5 years ago
copy Fix copy module file perms with remote_src (#69993) 5 years ago
cron cron - Allow non-ascii (UTF-8) chars in cron file paths and jobs (#70426) (#70794) 4 years ago
dataloader preserve json parsing error (#58461) 5 years ago
debconf Testing: Add support for AIX platform (#65802) 5 years ago
debug
delegate_to Allow hostvars delegation (#70331) (#70810) 4 years ago
dnf Enable logging using setup_loggers() API in dnf-4.2.17-6 or later 5 years ago
dpkg_selections Testing: Add support for AIX platform (#65802) 5 years ago
egg-info Fix references to old egg-info directory. 5 years ago
embedded_module
environment
error_from_connection
expect Fix incorrect assumptions in integration tests. (#58365) 6 years ago
facts_d
failed_when
fetch fixed fetch traversal from slurp (#68720) 5 years ago
file file - return 'state': 'absent' when a file does not exist (#66503) 5 years ago
filter_core Make filter type errors 'loop friendly' (#70417) (#70574) 4 years ago
filter_mathstuff Make filter type errors 'loop friendly' (#70417) (#70574) 4 years ago
filter_urls coverage for filter/urls.py, including fallback to custom implementations (#68412) 5 years ago
filter_urlsplit Split up filter integration tests. (#66962) 5 years ago
find
gathering
gathering_facts Get m_u.facts.utils coverage up to 100% (#70614) (#70629) 4 years ago
get_url wait_for simplehttpserver to come up online 5 years ago
getent Testing: Add support for AIX platform (#65802) 5 years ago
git [git] make force=True apply to git fetches (#68691) 5 years ago
group Test system users and groups. 5 years ago
group_by return changed for group_by (#32057) 5 years ago
groupby_filter
handler_race Split regular and handler results into their own queues (#69498) 5 years ago
handlers Integration tests for notify with variable list (#66423) 5 years ago
hash
hosts_field
ignore_errors
ignore_unreachable
incidental_aws_codebuild Second batch of incidental integration tests. (#67765) 5 years ago
incidental_aws_step_functions_state_machine support hard coded module_defaults.yml groups for collections (#69919) 5 years ago
incidental_azure_rm_mariadbserver Second batch of incidental integration tests. (#67765) 5 years ago
incidental_azure_rm_resource Second batch of incidental integration tests. (#67765) 5 years ago
incidental_cloud_init_data_facts Fourth batch of incidental integration tests. (#67873) 5 years ago
incidental_cloudformation support hard coded module_defaults.yml groups for collections (#69919) 5 years ago
incidental_connection_chroot Fourth batch of incidental integration tests. (#67873) 5 years ago
incidental_consul Testing: Add support for CentOS Linux On Power platform (#68130) 5 years ago
incidental_cs_common Second batch of incidental integration tests. (#67765) 5 years ago
incidental_cs_role_permission Second batch of incidental integration tests. (#67765) 5 years ago
incidental_cs_service_offering Second batch of incidental integration tests. (#67765) 5 years ago
incidental_deploy_helper Fourth batch of incidental integration tests. (#67873) 5 years ago
incidental_ec2_instance support hard coded module_defaults.yml groups for collections (#69919) 5 years ago
incidental_flatpak_remote Fourth batch of incidental integration tests. (#67873) 5 years ago
incidental_hcloud_server disable slow/unstable hetzner incidental tests (#70103) 5 years ago
incidental_inventory_aws_ec2 Second batch of incidental integration tests. (#67765) 5 years ago
incidental_inventory_docker_swarm Testing: Add support for CentOS Linux On Power platform (#68130) 5 years ago
incidental_inventory_foreman Second batch of incidental integration tests. (#67765) 5 years ago
incidental_inventory_vmware_vm_inventory Second batch of incidental integration tests. (#67765) 5 years ago
incidental_ios_file First batch of incidental integration tests. (#67717) 5 years ago
incidental_k8s Fix code coverage in tests. 5 years ago
incidental_lookup_hashi_vault Testing: Add support for CentOS Linux On Power platform (#68130) 5 years ago
incidental_lookup_rabbitmq Fourth batch of incidental integration tests. (#67873) 5 years ago
incidental_lvg Fourth batch of incidental integration tests. (#67873) 5 years ago
incidental_mongodb_parameter Fourth batch of incidental integration tests. (#67873) 5 years ago
incidental_nios_prepare_tests Second batch of incidental integration tests. (#67765) 5 years ago
incidental_nios_txt_record Second batch of incidental integration tests. (#67765) 5 years ago
incidental_postgresql_user Fourth batch of incidental integration tests. (#67873) 5 years ago
incidental_script_inventory_vmware_inventory Second batch of incidental integration tests. (#67765) 5 years ago
incidental_selinux Fourth batch of incidental integration tests. (#67873) 5 years ago
incidental_setup_docker Pin Docker version at 19.03.1 5 years ago
incidental_setup_ec2 Second batch of incidental integration tests. (#67765) 5 years ago
incidental_setup_flatpak_remote Fourth batch of incidental integration tests. (#67873) 5 years ago
incidental_setup_mongodb Skip mongodb tests on all centos versions. 5 years ago
incidental_setup_mysql_db Update docker.txt to use the OpenSUSE 15.1 container image (devel edition) (#68785) 5 years ago
incidental_setup_openssl Revert "Cap cryptography version for macOS openssl test (#69083)" (#69126) 5 years ago
incidental_setup_postgresql_db Improve stability of postgresql tests. 5 years ago
incidental_setup_rabbitmq Fourth batch of incidental integration tests. (#67873) 5 years ago
incidental_setup_tls Fourth batch of incidental integration tests. (#67873) 5 years ago
incidental_setup_zabbix Fourth batch of incidental integration tests. (#67873) 5 years ago
incidental_sts_assume_role Second batch of incidental integration tests. (#67765) 5 years ago
incidental_synchronize Fourth batch of incidental integration tests. (#67873) 5 years ago
incidental_timezone Add Fedora 32 to CI (#69222) 5 years ago
incidental_tower_credential_type Second batch of incidental integration tests. (#67765) 5 years ago
incidental_tower_receive Second batch of incidental integration tests. (#67765) 5 years ago
incidental_ufw Testing: Add support for CentOS Linux On Power platform (#68130) 5 years ago
incidental_vmware_guest Second batch of incidental integration tests. (#67765) 5 years ago
incidental_vmware_guest_custom_attributes Second batch of incidental integration tests. (#67765) 5 years ago
incidental_vmware_host_hyperthreading Second batch of incidental integration tests. (#67765) 5 years ago
incidental_vmware_prepare_tests ansible-test: vcenter initialize group/vmware (#70011) 5 years ago
incidental_vyos_config First batch of incidental integration tests. (#67717) 5 years ago
incidental_vyos_lldp_interfaces First batch of incidental integration tests. (#67717) 5 years ago
incidental_vyos_logging First batch of incidental integration tests. (#67717) 5 years ago
incidental_vyos_prepare_tests First batch of incidental integration tests. (#67717) 5 years ago
incidental_vyos_static_route First batch of incidental integration tests. (#67717) 5 years ago
incidental_win_copy Third batch of incidental integration tests. (#67830) 5 years ago
incidental_win_data_deduplication Third batch of incidental integration tests. (#67830) 5 years ago
incidental_win_dsc Third batch of incidental integration tests. (#67830) 5 years ago
incidental_win_hosts Third batch of incidental integration tests. (#67830) 5 years ago
incidental_win_lineinfile Third batch of incidental integration tests. (#67830) 5 years ago
incidental_win_ping Third batch of incidental integration tests. (#67830) 5 years ago
incidental_win_prepare_tests Third batch of incidental integration tests. (#67830) 5 years ago
incidental_win_psexec Third batch of incidental integration tests. (#67830) 5 years ago
incidental_win_reboot Third batch of incidental integration tests. (#67830) 5 years ago
incidental_win_security_policy Third batch of incidental integration tests. (#67830) 5 years ago
incidental_xml Deprecation revisited (#69926) 5 years ago
incidental_zabbix_host Fourth batch of incidental integration tests. (#67873) 5 years ago
include_import [stable-2.10] Rebalance CI groups to avoid macOS timeouts (#70126) 5 years ago
include_parent_role_vars
include_vars include_vars: Check NoneType for raw_params (#64979) 5 years ago
include_vars-ad-hoc include_vars - fix stack trace when run ad-hoc with dirs parameter (#66581) 5 years ago
include_when_parent_is_dynamic Add dynamic and static include tests. (#68200) 5 years ago
include_when_parent_is_static Add dynamic and static include tests. (#68200) 5 years ago
includes
includes_race Fix IncludedFile equality check (#69524) 5 years ago
infra Flatten the directory hierarchy of modules (#68966) 5 years ago
interpreter_discovery_python Default to python3 on Debian 10 (#63097) 5 years ago
interpreter_discovery_python_delegate_facts Fix delegate_facts with interpreter not being set (#70293) (#70384) 4 years ago
inventory inventory: Fail on non-existing limit file (#59758) 5 years ago
inventory_ini Make sure ansible_become treated as a boolean (#70484) (#70526) 4 years ago
inventory_yaml Testing: Add support for AIX platform (#65802) 5 years ago
jinja2_native_types native types: literal_eval all the things (#68938) 5 years ago
known_hosts
limit_inventory Rename some integration tests. 5 years ago
lineinfile lineinfile - don't run os.makedirs on empty dir path (#63921) 5 years ago
lookup_config coverage for lookup_config (#68566) 5 years ago
lookup_dict Skip lookup tests on Python 2.6. 5 years ago
lookup_env Skip lookup tests on Python 2.6. 5 years ago
lookup_file Skip lookup tests on Python 2.6. 5 years ago
lookup_fileglob [stable-2.10] Correct name of fileglob lookup integration test. 4 years ago
lookup_first_found Skip lookup tests on Python 2.6. 5 years ago
lookup_indexed_items Skip lookup tests on Python 2.6. 5 years ago
lookup_ini Skip lookup tests on Python 2.6. 5 years ago
lookup_inventory_hostnames Skip lookup tests on Python 2.6. 5 years ago
lookup_items Skip lookup tests on Python 2.6. 5 years ago
lookup_lines Skip lookup tests on Python 2.6. 5 years ago
lookup_list coverage for lookup_list (#68683) 5 years ago
lookup_nested Skip lookup tests on Python 2.6. 5 years ago
lookup_password Skip lookup tests on Python 2.6. 5 years ago
lookup_pipe Skip lookup tests on Python 2.6. 5 years ago
lookup_random_choice Skip lookup tests on Python 2.6. 5 years ago
lookup_sequence Skip lookup tests on Python 2.6. 5 years ago
lookup_subelements Skip lookup tests on Python 2.6. 5 years ago
lookup_template Skip lookup tests on Python 2.6. 5 years ago
lookup_together Skip lookup tests on Python 2.6. 5 years ago
lookup_unvault added unvault lookup plugin (#69087) 5 years ago
lookup_url Skip lookup tests on Python 2.6. 5 years ago
lookup_vars Skip lookup tests on Python 2.6. 5 years ago
loop_control Fix extended loop_control with includes (#61231) 5 years ago
loops Testing: Add support for AIX platform (#65802) 5 years ago
meta_tasks Add test for meta: end_play (#59118) 5 years ago
module_defaults support hard coded module_defaults.yml groups for collections (#69919) 5 years ago
module_no_log Add more integration tests. (#68972) 5 years ago
module_precedence [stable-2.10] Rebalance CI groups to avoid macOS timeouts (#70126) 5 years ago
module_tracebacks Testing: Add support for AIX platform (#65802) 5 years ago
module_utils refactor Python module_utils locator (#70610) (#70711) 4 years ago
module_utils_Ansible.AccessToken Split C# module utils to their own test target (#67910) 5 years ago
module_utils_Ansible.Basic Deprecation revisited (#69926) 5 years ago
module_utils_Ansible.Become Split C# module utils to their own test target (#67910) 5 years ago
module_utils_Ansible.ModuleUtils.AddType Separated ps module_util test targets, added WebRequest tests (#67914) 5 years ago
module_utils_Ansible.ModuleUtils.ArgvParser Separated ps module_util test targets, added WebRequest tests (#67914) 5 years ago
module_utils_Ansible.ModuleUtils.Backup Separated ps module_util test targets, added WebRequest tests (#67914) 5 years ago
module_utils_Ansible.ModuleUtils.CamelConversion Separated ps module_util test targets, added WebRequest tests (#67914) 5 years ago
module_utils_Ansible.ModuleUtils.CommandUtil Separated ps module_util test targets, added WebRequest tests (#67914) 5 years ago
module_utils_Ansible.ModuleUtils.FileUtil Separated ps module_util test targets, added WebRequest tests (#67914) 5 years ago
module_utils_Ansible.ModuleUtils.Legacy Separated ps module_util test targets, added WebRequest tests (#67914) 5 years ago
module_utils_Ansible.ModuleUtils.LinkUtil Separated ps module_util test targets, added WebRequest tests (#67914) 5 years ago
module_utils_Ansible.ModuleUtils.PrivilegeUtil Separated ps module_util test targets, added WebRequest tests (#67914) 5 years ago
module_utils_Ansible.ModuleUtils.SID Separated ps module_util test targets, added WebRequest tests (#67914) 5 years ago
module_utils_Ansible.ModuleUtils.WebRequest Ansible.Basic added generic fragment merger for module options (#69719) 5 years ago
module_utils_Ansible.Privilege Split C# module utils to their own test target (#67910) 5 years ago
module_utils_Ansible.Process Split C# module utils to their own test target (#67910) 5 years ago
module_utils_Ansible.Service Split C# module utils to their own test target (#67910) 5 years ago
module_utils_basic Fix warning for new default permissions when mode is not specified (#70976) (#70985) 4 years ago
network_cli Fix network_cli test to use a trap for cleanup (#69762) 5 years ago
no_log Expand Shippable test matrix. (#66912) 5 years ago
old_style_cache_plugins Correct virtualenv usage in integration tests. 6 years ago
old_style_modules_posix
omit
order
package Enable passing tests on power. 5 years ago
package_facts Testing: Add support for AIX platform (#65802) 5 years ago
parsing
path_lookups Split up lookup integration tests. (#67294) 5 years ago
path_with_comma_in_inventory Rename some integration tests. 5 years ago
pause [stable-2.10] Rebalance CI groups to avoid macOS timeouts (#70126) 5 years ago
ping
pip pip tests, use py2 compat sampleproject fork 5 years ago
play_iterator Fix --start-at-task when skipping tasks with no name (#68951) 5 years ago
playbook fix internal cases of actions calling unqualified module names (#70818) (#70840) 4 years ago
plugin_config_for_inventory Rename some integration tests. 5 years ago
plugin_filtering
plugin_loader
plugin_namespace Fix plugin names when loading all plugins. (#59950) 5 years ago
prepare_http_tests Split tasks for prepare_http_tests. 5 years ago
prepare_tests/tasks
pull Use `package` for `pkgng` and `zypper` in tests. 5 years ago
raw update ActionBase._low_level_execute_command to honor executable (#68315) 5 years ago
reboot
rel_plugin_loading ensure inventory plugin loading rel to play (#51177) 6 years ago
remote_tmp Testing: Add support for AIX platform (#65802) 5 years ago
replace
retry_task_name_in_callback Rename callback_retry_task_name test. 5 years ago
roles
rpm_key Testing: Add support for AIX platform (#65802) 5 years ago
run_modules
script
service systemd: should fail in check_mode when service not found on host (#68136) 5 years ago
service_facts Handle disabled service units (#69349) 5 years ago
set_fact implemented 'prefix' for file based cache (#69872) 5 years ago
setup_cron cronvar - use correct binary name (#63279) 5 years ago
setup_deb_repo
setup_epel/tasks Fix iso_extract tests for CentOS 8 (#64861) 5 years ago
setup_nobody
setup_paramiko Fix paramiko_ssh test (#64857) 5 years ago
setup_passlib/tasks
setup_pexpect/tasks Add setup roles for passlib and pexpect for use with pause and vars_prompt tests (#43613) 6 years ago
setup_remote_constraints Relocate ansible-test code. (#60147) 5 years ago
setup_remote_tmp_dir Split handler tasks for setup_remote_tmp_dir. 5 years ago
setup_rpm_repo Fix yum test case on ppc64le 5 years ago
setup_win_printargv Separated ps module_util test targets, added WebRequest tests (#67914) 5 years ago
shell Improve test compatibility with ansible-base. (#67325) 5 years ago
slurp
special_vars Misc typo fixes (#66120) 5 years ago
stat
strategy_linear
subversion Enable passing tests on power. 5 years ago
systemd systemd: should fail in check_mode when service not found on host (#68136) 5 years ago
tags Testing: Add support for AIX platform (#65802) 5 years ago
task_ordering
tasks Add more integration tests. (#68972) 5 years ago
template Prevent templating unused variables for {%include%} (#68749) 5 years ago
template_jinja2_latest Testing: Add support for AIX platform (#65802) 5 years ago
templating_lookups [2.10] Handle post_validate templating errors and fix tests (#70240) (#70389) 4 years ago
templating_settings
test_core [stable-2.10] Add integration tests for test plugins. (#70576) 4 years ago
test_files [stable-2.10] Add integration tests for test plugins. (#70576) 4 years ago
test_mathstuff [stable-2.10] Add integration tests for test plugins. (#70576) 4 years ago
throttle throttle: fix linear based strategies (#65422) 5 years ago
unarchive Enable passing tests on power. 5 years ago
unicode Ensure --version works with non-ascii project path (#66624) 5 years ago
until
uri do not return the body even if it failed (#69706) 5 years ago
user Create home and parent directories only when requested (#70790) 4 years ago
var_blending Clean up various integration tests. (#60613) 5 years ago
var_precedence
var_templating [2.10] template connection variables accessed directly before using (#70657) (#70688) 4 years ago
vault [stable-2.10] Allow single vault encrypted values to be used directly as module parameters. Fixes #68275 (#70607) (#70641) 4 years ago
wait_for
wait_for_connection Test the delay option in wait_for_connection. 5 years ago
want_json_modules_posix
win_async_wrapper
win_become become - stop using play context in more places (#62373) 5 years ago
win_exec_wrapper windows - fix up env var quoting for unicode single quotes (#68968) 5 years ago
win_fetch Consolidate Windows tests to one group. 5 years ago
win_module_utils Separated ps module_util test targets, added WebRequest tests (#67914) 5 years ago
win_raw
win_script
windows-minimal Create a dedicated windows-minimal test target. (#67987) 5 years ago
windows-paths
yum [yum] Make package removal confirmation strict (#69592) 5 years ago
yum_repository Ignore GPG key checks on test repo 5 years ago