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 7352457e7b
hostname - add macOS (#54439)
* Add DarwinStrategy class and integration tests

macOS has three seprate hostname params that need to be set. One of those params, LocalHostName, has more stringent requirements than the other two, which accept special characters and spaces. Create a method to scrub the hostname to ensure it works well with the system requirements.

* Update documentation

* Account for virtualization type returned on Azure Pipelines

* Do not be dependent on order of self.name_types

Use the scrubbed name when the name type is LocalHostName
4 years ago
..
add_host Add intg test to repro #36045 (add_host traceback) (#69912) 4 years ago
ansiballz_python Testing: Add support for AIX platform (#65802) 5 years ago
ansible Make it so callback plugins can act on implicit/explicit meta tasks (#71009) 4 years ago
ansible-doc ansible-doc: include collection name in text output (#70401) 4 years ago
ansible-galaxy Updates to Integration tests to pass against Alpine (#70946) 4 years ago
ansible-galaxy-collection Add tests for ignore functionality of collection build (#69345) 4 years ago
ansible-galaxy-collection-scm Updates to Integration tests to pass against Alpine (#70946) 4 years ago
ansible-runner Test changes to allow using "macos" test image (#71849) 4 years ago
ansible-test Support collection constraints in ansible-test. 4 years ago
ansible-test-docker Update ansible-test integration tests. (#69970) 4 years ago
any_errors_fatal
apt Remove incidental_zabbix_host (#72142) 4 years ago
apt_key Remove incidental_zabbix_host (#72142) 4 years ago
apt_repository Remove incidental_zabbix_host (#72142) 4 years ago
args
argspec Adds argspec tests for required, required_one_of and required_by (#72245) 4 years ago
assemble Fix decrypt argument in assemble module (#70465) 4 years ago
assert Testing: Add support for AIX platform (#65802) 5 years ago
async Allow callbacks from forks (#70501) 4 years ago
async_extra_data Expand Shippable test matrix. (#66912) 5 years ago
async_fail More boilerplate fixes. (#70224) 4 years ago
become Changes required for macOS 10.15 (#71841) 4 years ago
become_unprivileged Allow macOS ACLs to work for unpriv -> unpriv (#70785) 4 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 - properly insert block when no trailing new line exists (#72350) 4 years ago
blocks _check_failed_state: always use the current/nested state (#71347) 4 years ago
builtin_vars_prompt More boilerplate fixes. (#70224) 4 years ago
callback_default make collection callbacks follow normal flow (#59932) 4 years ago
changed_when Allow changed/failed mgmt on strategy actions (#70919) 4 years ago
check_mode
cli Fix `ansible -K` become_pass regression (#69629) 4 years ago
collections Ensure we call action_loader.get with collection_list (#72206) 4 years ago
collections_plugin_namespace config: singular ANSIBLE_COLLECTIONS_PATH (#70007) 4 years ago
collections_relative_imports config: singular ANSIBLE_COLLECTIONS_PATH (#70007) 4 years ago
collections_runtime_pythonpath config: singular ANSIBLE_COLLECTIONS_PATH (#70007) 4 years ago
command_shell Deprecate command warnings feature (#70504) 4 years ago
conditionals
config Fix missing quoting for remote_tmp in second mkdir of shell module. Issue #69577 (#69578) 4 years ago
connection Do not add connection vars to the output results (#70853) 4 years ago
connection_delegation Test changes to allow using "macos" test image (#71849) 4 years ago
connection_local
connection_paramiko_ssh Testing: Add support for AIX platform (#65802) 5 years ago
connection_posix
connection_psrp psrp - fix hang when copying an empty file (#71649) 4 years ago
connection_ssh Updates to Integration tests to pass against Alpine (#70946) 4 years ago
connection_windows_ssh
connection_winrm
copy copy - redact 'content' from invocation in check mode (#71033) 4 years ago
cron Test changes to allow using "macos" test image (#71849) 4 years ago
dataloader preserve json parsing error (#58461) 4 years ago
debconf Testing: Add support for AIX platform (#65802) 5 years ago
debug
delegate_to Ensure delegate vars calculation has correct loop context. Fixes #37132 (#71477) 4 years ago
dict_transformations Add test to replace exclusive incidental_cloudformation coverage (#72137) 4 years ago
dnf [tests/dnf] work around dnf packaging issue (#72249) 4 years ago
dpkg_selections Test changes to allow using "macos" test image (#71849) 4 years ago
egg-info Fix references to old egg-info directory. 5 years ago
embedded_module
environment
error_from_connection Fix transport defs in test connection plugins. 4 years ago
expect More boilerplate fixes. (#70224) 4 years ago
facts_d
facts_linux_network Test changes to allow using "macos" test image (#71849) 4 years ago
failed_when
fetch fixed fetch traversal from slurp (#68720) 5 years ago
file Let get_file_attributes() work without `lsattr -v` (#71845) 4 years ago
filter_core Changes required for macOS 10.15 (#71841) 4 years ago
filter_mathstuff Make filter type errors 'loop friendly' (#70417) 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 find: Allow reading whole file for contains regex (#71083) 4 years ago
gathering
gathering_facts Allow list of filters for the setup module (#68551) 4 years ago
get_url Add support for GSSAPI/Kerberos to urls.py (#72113) 4 years ago
getent Updates to Integration tests to pass against Alpine (#70946) 4 years ago
git Changes required for macOS 10.15 (#71841) 4 years ago
group Add integration coverage to replace hash_vault and consul_session (#71775) 4 years ago
group_by return changed for group_by (#32057) 4 years ago
groupby_filter
handler_race Updates to Integration tests to pass against Alpine (#70946) 4 years ago
handlers Integration tests for notify with variable list (#66423) 5 years ago
hardware_facts Add intentional coverage for incidental_lvg (#71043) 4 years ago
hash
hostname hostname - add macOS (#54439) 4 years ago
hosts_field
ignore_errors
ignore_unreachable More boilerplate fixes. (#70224) 4 years ago
incidental_cloud_init_data_facts Test changes to allow using "macos" test image (#71849) 4 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_deploy_helper Fourth batch of incidental integration tests. (#67873) 5 years ago
incidental_inventory_aws_ec2 Second batch of incidental integration tests. (#67765) 5 years ago
incidental_inventory_docker_swarm [tests] Make setup_docker clean up better (#71949) 4 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_mongodb_parameter Test changes to allow using "macos" test image (#71849) 4 years ago
incidental_script_inventory_vmware_inventory More boilerplate fixes. (#70224) 4 years ago
incidental_setup_docker [tests] Make setup_docker clean up better (#71949) 4 years ago
incidental_setup_ec2 Second batch of incidental integration tests. (#67765) 5 years ago
incidental_setup_mongodb Skip mongodb tests on all centos versions. 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_sts_assume_role Second batch of incidental integration tests. (#67765) 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_vmware_guest 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) 4 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_prepare_tests 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_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_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
include_import Updates to Integration tests to pass against Alpine (#70946) 4 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) 4 years ago
infra More boilerplate fixes. (#70224) 4 years ago
interpreter_discovery_python Changes required for macOS 10.15 (#71841) 4 years ago
interpreter_discovery_python_delegate_facts Fix delegate_facts with interpreter not being set (#70293) 4 years ago
inventory add extra vars to inventory plugins (#70970) 4 years ago
inventory_constructed Add a toggle for the leading separator for keyed_groups (#60882) 4 years ago
inventory_ini Make sure ansible_become treated as a boolean (#70484) 4 years ago
inventory_yaml Testing: Add support for AIX platform (#65802) 5 years ago
jinja2_native_types Skip literal_eval for string filters results in native jinja. (#70988) 4 years ago
known_hosts
limit_inventory Rename some integration tests. 5 years ago
lineinfile
lookup_config coverage for lookup_config (#68566) 5 years ago
lookup_csvfile Some more coverage for csvfile (#70661) 4 years ago
lookup_dict Add integration coverage to replace hash_vault and consul_session (#71775) 4 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 Fix typos (#72072) 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 Use InventoryManager for inventory_hostnames lookup (#71573) 4 years ago
lookup_items Remove incidental_timezone (#72063) 4 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 Set global skipped result flag for looped tasks (#67847) 4 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) 4 years ago
lookup_url Changes required for macOS 10.15 (#71841) 4 years ago
lookup_varnames varnames: add tests, fix exception grammar (#70573) 4 years ago
lookup_vars Skip lookup tests on Python 2.6. 5 years ago
loop_control
loops Fix with_dict/with_list being passed incorrect type tests (#71699) 4 years ago
meta_tasks Add skip_reason to meta task skips (#71355) 4 years ago
module_defaults support hard coded module_defaults.yml groups for collections (#69919) 4 years ago
module_no_log Test changes to allow using "macos" test image (#71849) 4 years ago
module_precedence More boilerplate fixes. (#70224) 4 years ago
module_tracebacks Testing: Add support for AIX platform (#65802) 5 years ago
module_utils refactor Python module_utils locator (#70610) 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) 4 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) 4 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_urls Add support for GSSAPI/Kerberos to urls.py (#72113) 4 years ago
network_cli Fix network_cli test to use a trap for cleanup (#69762) 4 years ago
no_log Expand Shippable test matrix. (#66912) 5 years ago
old_style_cache_plugins Test changes to allow using "macos" test image (#71849) 4 years ago
old_style_modules_posix
omit
order
package Enable passing tests on power. 5 years ago
package_facts Test changes to allow using "macos" test image (#71849) 4 years ago
parsing Strip spaces in module names in explicit actions (#71040) 4 years ago
path_lookups Split up lookup integration tests. (#67294) 5 years ago
path_with_comma_in_inventory Rename some integration tests. 5 years ago
pause More boilerplate fixes. (#70224) 4 years ago
ping
pip Changes required for macOS 10.15 (#71841) 4 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) 4 years ago
plugin_config_for_inventory Allow cache_timeout=0 to reach inv. cache plugins (#70977) 4 years ago
plugin_filtering
plugin_loader Intentional coverage, incidental_azure_rm_resource (#71052) 4 years ago
plugin_namespace
prepare_http_tests Add support for GSSAPI/Kerberos to urls.py (#72113) 4 years ago
prepare_tests/tasks
pull Updates to Integration tests to pass against Alpine (#70946) 4 years ago
raw update ActionBase._low_level_execute_command to honor executable (#68315) 5 years ago
reboot
rel_plugin_loading
remote_tmp Changes required for macOS 10.15 (#71841) 4 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 More boilerplate fixes. (#70224) 4 years ago
script More boilerplate fixes. (#70224) 4 years ago
service Test changes to allow using "macos" test image (#71849) 4 years ago
service_facts Test changes to allow using "macos" test image (#71849) 4 years ago
set_fact Ensure native jinja is off for non-native tests (#71914) 4 years ago
setup_cron Updates to Integration tests to pass against Alpine (#70946) 4 years ago
setup_deb_repo
setup_epel/tasks [tests] fix fallout from dnf gpg fix (#71548) 4 years ago
setup_gnutar Changes required for macOS 10.15 (#71841) 4 years ago
setup_nobody
setup_paramiko Changes required for macOS 10.15 (#71841) 4 years ago
setup_passlib/tasks
setup_pexpect/tasks
setup_remote_constraints
setup_remote_tmp_dir Split handler tasks for setup_remote_tmp_dir. 5 years ago
setup_rpm_repo Update integration tests to support rpmfluff-0.6 (#71155) 4 years ago
setup_win_printargv Separated ps module_util test targets, added WebRequest tests (#67914) 5 years ago
shell Fix transport defs in test connection plugins. 4 years ago
slurp
special_vars Misc typo fixes (#66120) 5 years ago
stat stat: Handle colon in filename (#70259) 4 years ago
strategy_linear
subversion Fix subversion_pacakges name (#72138) 4 years ago
systemd Remove incidental_zabbix_host (#72142) 4 years ago
tags Allow meta tasks to use tags (#67508) 4 years ago
task_ordering
tasks Add more integration tests. (#68972) 5 years ago
template Provide more information in AnsibleUndefinedVariable (#71666) 4 years ago
template_jinja2_latest Testing: Add support for AIX platform (#65802) 5 years ago
template_jinja2_non_native Force template module to use non-native Jinja2 (#68560) 4 years ago
templating_lookups Ensure native jinja is off for non-native tests (#71914) 4 years ago
templating_settings
test_core Add semver support to the jinja2 version test (#71600) 4 years ago
test_files Add integration tests for test plugins. (#70576) 4 years ago
test_mathstuff Add integration tests for test plugins. (#70576) 4 years ago
throttle throttle: fix linear based strategies (#65422) 5 years ago
unarchive [unarchive] work on older RHEL with group: <gid> (#72098) 4 years ago
unicode Ensure --version works with non-ascii project path (#66624) 4 years ago
until Remove incidental_win_psexec (#71953) 4 years ago
uri Add support for GSSAPI/Kerberos to urls.py (#72113) 4 years ago
user user - allow local users with an expiry date to be created (#72022) 4 years ago
var_blending
var_precedence More boilerplate fixes. (#70224) 4 years ago
var_reserved add jinja2 global to reserved names (#71088) 4 years ago
var_templating Fix verbosity for var_templating test (#70943) 4 years ago
vault Allow single vault encrypted values to be used directly as module parameters. Fixes #68275 (#70607) 4 years ago
wait_for Add intentional coverage for incidental_ec2_instance (#72028) 4 years ago
wait_for_connection Test the delay option in wait_for_connection. 5 years ago
want_json_modules_posix More boilerplate fixes. (#70224) 4 years ago
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 powershell - fix quoting values (#71411) 4 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
yaml_parsing Add more include and yaml parsing tests (#70506) 4 years ago
yum Test changes to allow using "macos" test image (#71849) 4 years ago
yum_repository Add new option for YUM4/DNF repositories (#70042) 4 years ago