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
Felix Fontein 8d93ba9120
Plugin/module docs: parse return values, add collection names in them (version_added_collection), and format them nicely in ansible-doc (#69796)
* Tag return value docs if they are a dict (and not str/None).

* Try to parse return docs as YAML.

* Properly dump return values in ansible-doc.

* Adjust plugin formatter.

* Add changelog fragment.

* Don't add 'default' for return values.

* Fix plugin_formatter.

* Only try to parse return docs if they are still a string.

* Add tests.

* Warn if RETURN cannot be parsed.

* Adjust tests. Also test for warning.

* if -> elif (otherwise EXAMPLE will be parsed too).

* Always parse return documentation, and fail if it is invalid YAML.

* Polishing.

* Mostly re-enable ansible-doc tests.

Listing from the local collection seems to be somewhat broken. I assume this
is why the test was disabled.

* Lint and make tests work with Python 2.

* Keep FQCNs in plugins (not modules), i.e. restore previous state.
5 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 Plugin/module docs: parse return values, add collection names in them (version_added_collection), and format them nicely in ansible-doc (#69796) 5 years ago
ansible-galaxy ansible-galaxy - Fix role info when role is not installed (#69924) 5 years ago
ansible-galaxy-collection galaxy - preserve symlinks on build/install (#69959) 5 years ago
ansible-galaxy-collection-scm Add support to install collections from git repositories (#69154) 5 years ago
ansible-runner adhoc: Load callbacks before sending v2_playbook_on_start (#67673) 5 years ago
ansible-test Split out and install sanity test requirements. (#69971) 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 Revert "stricter permissions on atomic_move when creating new file (#68970)" (#68983) 5 years ago
args
assemble
assert Testing: Add support for AIX platform (#65802) 5 years ago
async Testing: Add support for AIX platform (#65802) 5 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 Fix ansible_failed_{task,result} undefined in rescue (#64831) 5 years ago
builtin_vars_prompt Rename tests (#68356) 5 years ago
callback_default Fix label lookup in the default callback for includes (#68822) 5 years ago
changed_when
check_mode
cli Fix `ansible -K` become_pass regression (#69629) 5 years ago
collections implemented 'prefix' for file based cache (#69872) 5 years ago
collections_plugin_namespace Address compat issue for collection loading on py26 (#68219) 5 years ago
collections_relative_imports Add relative module_util support for powershell (#68321) 5 years ago
collections_runtime_pythonpath Merge pull request #67093 from sivel/acd-content-dir 5 years ago
command_shell Testing: Add support for AIX platform (#65802) 5 years ago
conditionals improve conditional warnings (#57190) 6 years ago
config
connection Simplify ansible-test target processing. (#61506) 5 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 [ssh] Add new sshpass_prompt option (#68874) 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 Do not pass file mode during recursive copy on symlink files. (#69011) 5 years ago
cron Removing a cron file when the 'name' parameter is specified is now allowed (#57471). Added integration tests to validate new behavior. (#65640) 5 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 fix delegated interpreter discovery (#69604) 5 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) 5 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
fileglob Fix fileglob plugin with non-existent subdirectory (#69451) 5 years ago
filter_core Make AnsibleVaultEncryptedUnicode work more like a string (#67823) 5 years ago
filter_mathstuff [mathstuff] Get coverage into the 90% range (#68395) 5 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 correctly merge multiple facts results (#68987) 5 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 Fix tests which assume `virtualenv` is available. 6 years ago
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 Add shippable/posix/group4/ for CI. (#53816) 6 years ago
ignore_unreachable Clean up use of `connection: local` in tests. 6 years ago
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 Second batch of incidental integration tests. (#67765) 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 Fourth batch of incidental integration tests. (#67873) 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 Raise Warning when import_playbook receives additional parameters (#64156) 5 years ago
include_parent_role_vars Add ansible_parent_role_names magic variable (#46687) 6 years ago
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
inventory inventory: Fail on non-existing limit file (#59758) 5 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_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 Filter BLACKLIST_EXTS in PluginLoader (#69029) 5 years ago
module_tracebacks Testing: Add support for AIX platform (#65802) 5 years ago
module_utils Add tests for new alias deprecation functionality (#61476) 5 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
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 Fix order integration test. 6 years ago
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 Testing: Add support for AIX platform (#65802) 5 years ago
ping Merge pull request #54367 from mattclay/fix-ping-test 6 years ago
pip [pip] Enable virtualenv_command to have arguments 5 years ago
play_iterator Fix --start-at-task when skipping tasks with no name (#68951) 5 years ago
playbook added 'task timeout' feature (#69284) 5 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 replace - fixed combined before and after usage (#31452) 6 years ago
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 fix missing attribs with dirct module execution (#53875) 6 years ago
script Use correct python for -c invocations in tests. (#54577) 6 years ago
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
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 remove deprecated get_md5 from stat (#55659) 6 years ago
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 Properly handle unicode in safe_eval (#68576) 5 years ago
templating_settings register: fail when invalid var name is specified (#56456) 6 years ago
test_core Rename tests (#68356) 5 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 Test system users and groups. 5 years ago
var_blending Clean up various integration tests. (#60613) 5 years ago
var_precedence
var_templating Use templating in HostVarsVars __repr__ (#64282) 5 years ago
vault Make AnsibleVaultEncryptedUnicode work more like a string (#67823) 5 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 psrp - Fix raw and script tests for connection plugin (#55357) 6 years ago
win_script psrp - Fix raw and script tests for connection plugin (#55357) 6 years ago
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