1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/changelogs/fragments
Simon Westphahl 02e87b7d70 Raise AnsibleConnectionError on winrm connnection errors (#51744)
* Raise AnsibleConnectionError on winrm con errors

Currently all uncaught exceptions of the requests library that is used
in winrm will lead to an "Unexpected failure during module execution".

Instead of letting all exceptions bubble up we catch the connection
related errors (inkl. timeouts) and re-raise them as
AnsibleConnectionError so Ansible will mark the host as unreachable and
exit with the correct return code.

This is especially important for Zuul (https://zuul-ci.org) to
distinguish between failures and connection/host related errors.

* Update lib/ansible/plugins/connection/winrm.py

Co-Authored-By: westphahl <westphahl@gmail.com>

* Add changelog fragment
2019-02-13 14:55:55 -05:00
..
2.8-core-deprecations.yaml
2.8-removed-modules.yaml
11349-add-ansible_play_name-var.yaml
11935-slack-add_hex_color_values.yaml
24633-copy-coherency-between-check-normal-mode.yaml Add coherency between check and normal mode for copy plugin action see issue #24633 (#51582) 2019-02-01 13:47:23 +10:00
32366-test-match_fix_docs.yaml
33754-docker_image_fix_changed_in_force_mode.yaml
34209-template-lookup-vault-support.yaml
35370-add_support_for_docker_network_internal_flag.yaml
37150-make_modprobe_module_check_for_builtins_as_well.yaml
38118-postgresql_user-fix_conn_limit_type.yml
38833-docker_volume-option-minimum-versions
38878-hashi_vault-support_userpass.yaml hashi_vault: add support for userpass authentication (#51538) 2019-02-02 12:32:53 +01:00
40092-mysql_user-match-backticks.yml mysql_user: Match both single quotes and backticks when checking curr… (#40092) 2019-02-06 14:20:43 +00:00
40174-junit-test-case-prefix-filter.yaml
40176-junit-hide-task-arguments.yaml
42866-galaxy-search-unicode.yaml
43123-add_support_for_per_host_no_stats.yaml
43874-docker_container-stop_timeout.yaml
44278-pamd_valid_simple_controls.yaml
44428-inventory-plugin-list.yml
44789-docker_container-comparisons.yaml
44988-acme-post-as-get.yaml
45155-vmware_host_service_facts-update_docs.yaml
45628-fetch_url-error-headers.yaml
45824-uri-fix-TypeError.yaml uri: check unexpected failure doesn't occur when file cannot be saved (#45824) 2019-02-04 10:29:05 -05:00
46322-docker_container-image-not-given.yaml
46443-mongodb_user-fix-roles-default-value.yaml
46483-role_names-change.yaml
46594-docker_container-publish-all-ports.yml
46595-docker_container-expected_ports.yml
46596-docker_container-published_ports.yml
46598-docker_container-volume-modes.yml
46608_azure_rm_inv_py3.yaml
46658-plugin_filter-improve_error_handling.yaml
46739-gcp-compute-instance-metadata.yaml
46740-gcp-utils-credentials-scoping.yaml
46743-fix-native-jinja-newlines.yaml
46772-docker_container-healthcheck.yaml
46961_fix_aws_ec2_cache.yaml
47019-mail-fix-py27-regression.yaml
47134-elasticsearch_plugin-fix_param_type.yml
47193-fix-gce-and-scaleway-vm-detection.yml
47213-onepassword_facts_fix_password_lookup.yaml
47247-docker_container-add-runtime-option.yaml
47281-pamd-dont-delete-named_temporary_file_on_close.yaml
47300-ios-check_rc.yaml
47307-handler-include-task.yml
47313-vmware-fix_module_error.yaml
47393-docker_image-id.yaml
47395-docker_container-ipvX_address.yaml
47396-docker_container-detach-auto-remove.yaml
47459_grafana_dashboard_consistency_fix.yaml
47492-docker_network-add-ipv6-support.yaml
47500-rds_instance.yaml
47539-fix-netaddr-network.yaml
47668-aci_switch_leaf_selector-support_empty_policy_group.yaml
47689-yum-fix-version-syntax.yaml
47695-pamd-fix-idempotence-and-parsing-issues.yml
47704-apt-warn-auto-intall.yml
47711-docker_container-minimal-version-checks.yml
47712-docker_container-detach-auto-remove.yml
47722-vmware_guest_powerstate-restore_timeout.yaml
47814-docker_container-device-io-limit-parameters.yaml
47846-cs_ip_address-fix-vpc-vs-network.yaml
47859-vmware_guest-convert_vm_disk_clone.yaml
47900-docker_container-paused.yml
47916-grafana_dashboard-fix-logic-behind-overwrite-param.yaml
47920-vmware_guest-handle_no_root_snapshot.yaml
47938-docker_swarm_service-requirements.yaml
47997-docker_container-ipc-pid-mode.yml
48036-vultr-fix-empty-list-handling.yaml
48061-docker_container-auto_removal.yml
48069-default-callback-unreachable_stderr.yml
48306-ansible-connection-json
48342-vultr_server_facts-fix-firewall-group.yml
48471-win_xml-xml-parser.yaml
48536-docker_volume-labels.yml
48546-docker-diff.yml
48551-docker_container-idempotency.yml
48599-rabbitmq_binding-state-absent.yaml
48673-fix-omit-on-play-keywords.yaml
48675-cs_template-fix-keyerror-state-extracted.yml
48728-win_nssm-credential-quoting.yml
48730-zabbix_hostmacro-fixes.yaml
48936-import-handlers.yaml
48950-vault-encrypted-data-native-jinja.yaml
49078-docker_container-min-version-fix.yml
49084-influxdb_user-default-password-fix.yaml
49158-detect-kvm-on-freebsd.yaml
49184-facts-rpm-ostree-pkgmgr.yml correctly detect pkg_mgr on fedora/rhel/centos rpm-ostree installed (#49256) 2019-02-07 15:16:38 -05:00
49188-zabbix_template-fix-idempotency.yaml
49212-require-git-ansible-galaxy.yaml
49235-docker_swarm_service-user-default.yaml
49262-user.yml
49266-acme-error-messages.yml
49319-docker_container-pids_limit.yaml
49409-lineinfile_must_not_insert_lines_multiples_times_with_insertbefore_insertafter.yml
49410-acme-diff.yml
49473-multiple-ipv6-addresses-per-device.yaml
49545-ansible-doc_version_help.yaml
49553-aci_rest-fix-ignoring-custom-port.yaml
49615-ascii-devuan-support.yml
49676-s3bucket-requester_pays_change_if_condition.yml
49688-docker_secret-config-base64-data.yml
49723-jenkins-plugin-install-latest.yaml
49734-facts-set-virtualization_role-for-kvm-hosts.yaml
49787-docker_image-cache_from.yaml
49794-docker_container-network-mode.yml
49796-ufw-insert-relative-to.yml ufw: allow to insert rules relative to first/last IPv4/IPv6 rules (#49796) 2019-02-12 08:05:14 +00:00
49843-docker_container-wrap-env.yaml
49884-tower-project-scm-cred-org-fallback.yaml
49952-avoid-loading-kube-config-when-auth-given.yml
50006-azure_rm_inventory_batchrequest_fix.yaml
50025-gcp_compute_filters_default.yml
50076-os-sec-group-rule-proper-module-exit.yaml
50134-influxdb_user-invalid_auth_fix.yml
50143-win_firewall_rule-invalid-bypass.yml
50185-win_updates-report-changes-correctly.yml
50249-vmware_vm_inventory-fix_host_ip.yaml
50298-redfish_utils_fix_reference_to_local_variable_systems_service.yaml
50316-ansible-vault_utf-8_in_vault_filename.yaml ansible-vault: handle utf-8 filename in vault (#50341) 2019-02-12 16:13:51 +05:30
50322-openssl-path-error.yml
50337-fix-vultr_server-ssh_keys-handling.yml
50361-openssl_csr-idempotency.yml
50402-ufw-check-direction.yml ufw: check values for direction depending on situation (#50402) 2019-02-11 14:47:35 +00:00
50448-paramiko_ssh_add_auth_timeout.yaml
50483-docker_swarm_service-option-typo.yml
50570-relative_time_crypto.yaml
50654-docker-swarm-service-docker-api-fix.yaml
50655-docker_swarm_service-update_order-idempotency.yml
50657-bubble-k8s-import-exception.yml
50834-50833-zabbix_template-json.yaml zabbix_template: Fixed interactions between options and data within JSON object (#51222) 2019-01-26 13:15:32 +01:00
50843.yaml
50861-docker_swarm_service-documentation-fixes.yml
50871-facts-ip-addr-busybox.yaml facts: detect IP addresses on busybox properly (#51131) 2019-01-23 22:24:29 +01:00
50882-docker_swarm_service-fix-publish-idempotency.yml
50883-docker_network-labels-support.yaml
50894-openssl_csr-san-commonname-optional.yaml
50984-docker_swarm_service-command-option.yml
51035-docker_service-docker_compose-rename.yaml docker_service: rename to docker_compose. (#51035) 2019-01-23 12:21:57 +00:00
51059-dnf-support-substitutions dnf load substitutions from installroot (#51206) 2019-01-29 15:10:53 -05:00
51082-docker_swarm_service-placement-preferences-option.yml
51110-docker_swarm_service-drop-user-default.yml docker_swarm_service: Remove root as default user (#51110) 2019-01-27 16:26:41 +00:00
51134-docker_swarm_service-change-on-updated-image.yml docker_swarm_service: Compare image by digest (#51134) 2019-01-27 11:48:16 -05:00
51136-fix-ansible-inventory-tracebacks.yml
51145-docker_volume-force.yaml docker_volume: improve force option (deprecate, add new option) (#51145) 2019-02-03 15:09:24 -05:00
51166-ufw-gre-igmp.yaml ufw: allow gre and igmp protocols (#51166) 2019-02-11 14:46:38 +00:00
51170-docker_swarm_service-handle-out-of-sequence-error.yml docker_swarm_service: Enable tests (#51170) 2019-02-05 08:25:29 +00:00
51357-module_utils-basic.yml use list instead of tuple and remove md5 on ValueError (#51357) 2019-02-07 11:23:11 -05:00
51406-aci_aaa_user-description.yaml aci_aaa_user: Fix changing user description (#51408) 2019-01-29 03:16:58 +01:00
51473-openssl_csr-idempotence.yaml openssl_csr: ignore empty strings in altnames (#51473) 2019-02-11 10:30:56 +00:00
51495-k8s-load-envvars.yaml [k8s] Always check envvars when auth parameter is not provided (#51495) 2019-01-30 16:52:12 -05:00
51535-ec2-fix-spot-request-end-date.yaml spot instance request stay opened when module exit with timeout (#51535) 2019-02-07 21:38:19 +05:30
51602-ec2_instance_single_iface_description.yaml Added description to single net interface (#51602) 2019-02-01 13:19:33 +00:00
51697-disable_excludes-errors-with-disable-includes-message.yaml yum: disableexcludes is supported on centos6 (#51698) 2019-02-05 18:18:56 +01:00
51762-docker_swarm_service-extend-env-and-add-env-file.yml docker_swarm_service: Extend env and add env_files support (#51762) 2019-02-12 08:06:58 +00:00
51795-acme_challenge_cert_helper-module-fail.yaml acme_challenge_cert_helper: fix bad module.fail_json() call (#51795) 2019-02-06 15:45:35 +10:00
51824-slack-req-content-type.yaml callbacks/slack: Explicitly set Content-Type header (#51824) 2019-02-12 12:47:33 -05:00
51827-openstack_logs_to_stderr.yml Send openstack inventory logs to stderr (#51827) 2019-02-13 13:36:37 +00:00
52031-gssapi-for-identity-ipa.yaml identity: Add GSSAPI suport for FreeIPA authentication (#52031) 2019-02-13 15:38:13 +00:00
aci_access_port_to_interface_policy_leaf_profile-missing_policy_group.yaml
aci_interface_policy_leaf_policy_group-missing_aep.yaml
acl_doc_fix.yml
add-elapsed-return-value-to-select-modules.yaml
agnostic-become-prompt.yaml
ajson-nested-decode.yaml
allow_regions_aws_invp.yml aws_ec2 Implement the missing 'region discovery' (#51333) 2019-01-29 14:59:38 -06:00
ansible-doc-fixes.yml
ansible-template-error.yml
apt_repository-no-tty.yaml
async-dir.yaml
async_statys_pyx_compat_fix.yml
avoid_spurious_unique_warnings.yml
avoid_ssh_retry_discolsures.yml
aws_kms_grants.yml aws_kms enhancements (#31960) 2019-02-13 13:06:58 +10:00
azure_rm_appgateway-probe.yaml
azure_rm_deployment_fix_45941.yaml
become-plugins.yaml Become plugins (#50991) 2019-02-11 11:27:44 -06:00
better-kv-error-reporting.yml
better_cfgmgr_errors.yml
blockinfile-bytes-fix.yaml
callback-keep-more-debug-keys.yml
cfg_mgr_fix.yml
change_failed_when_example.yaml
checkpoint-object-facts-type-param.yaml
clear_system_variablse.yml
cli-refactor.yaml
code-cleanup-no-get-exception.yaml
command-stdin-no-newline.yaml
conditionals_fix.yml remove bare var handling in conditionals (#51030) 2019-01-30 15:00:24 -05:00
contains-test.yaml
copy-diff-text.yaml
copy-recursive-remote-src.yml
dd-put-empty-files.yaml
deal_with_bad_config_types.yml
delegate_to_loop_hostvars.yaml
detect_interpreter_stdout.yml
diff_yaml.yml
disallow-relative-homedir.yaml Disallow use of remote home directories containing .. in their path (CVE-2019-3828) (#52133) 2019-02-13 10:38:28 -06:00
display-singleton.yaml
dnf-conf-file.yaml
dnf-fix-plugin-loading.yaml
dnf-group-removal.yaml
dnf-ignore-weak-deps.yaml
dnf-localgpgcheck.yaml
dnf-modularity.yaml
dnf-update-cache-broken-transaction.yaml
dnfyum-disable-excludes.yaml
doc_debug_var.yml
docfixes.yml
docker-image-ids.yaml
docker-swarm-service-defaults.yml
docker_container-idempotency.yaml
docker_network-adding-scope-and-attachable-flags.yaml
docker_network-driver_options.yaml
docker_network-requirements.yaml
docker_volume-force-change-detection-revert.yaml
docker_volume-force-change-detection.yaml
drop-pkg_resources.yaml
ec2_asg-launch-template-support.yml
ec2_asg_retry_deletion_when_busy.yaml
ec2_group_fix_target_containing_list_within_list.yaml
ec2_vpc_peer_describe_peer_with_exception_handling.yaml
elb_target_group_fix_KeyError.yaml
end-host-meta-task.yaml
explain_bare.yml
fibre_channel_wwn_fact.yaml Add network fact to obtain FC WWN initiator ports (#37043) 2019-01-31 21:59:38 +00:00
file-touch-non-owner.yaml
firewalld-missing-port-protocol.yml
fix-Amazon-system-release-version-parsing.yaml fix Amazon system-release version parsing (#51521) 2019-02-07 17:58:34 -05:00
fix-callbacks-mixed-keys.yaml
fix-lvg-reduce-by-better-listing-pv.yml
fix-password-lookup-on-fips.yaml
fix_adhoc_includes.yml
fix_ec2_group_target_vpc_precedence.yaml
fix_ec2_group_vpc_precedence_classic.yaml
fix_ir_dupes.yml
fix_pull_extra.yml Handle complex quoting in extra args in pull cli (#50212) 2019-01-23 10:58:37 -05:00
fix_taggged_gather.yml
force_role_with_deps.yml [WIP] force install role and its deps (#49347) 2019-01-23 12:34:26 -05:00
free-strategy-include-var-tags.yaml
from_handlers.yml
get-url-fix-idempotency.yaml
get_url.yaml
host-start-callback.yaml
ibm-storag_add_domain_keywords_to_module.yml
icinga2_host-47671-fix-use_proxy.yaml
improved-fieldattribute-inheritance.yaml Fieldattribute inheritance with defaults (#50891) 2019-01-23 11:40:07 -06:00
include-import-promotion.yaml Promote include_tasks/role and import_tasks/role to stableinterface (#51975) 2019-02-11 09:06:38 -06:00
include-run-once.yaml
include_tasks_parent_templating.yml
includevars_nonascii.yaml fix include_vars non-ASCII error handling (#51198) 2019-01-22 19:35:34 -05:00
influxdb_user-admin-role-update.yaml
inv_fixes.yml
inventory-docker-service-stack-groups.yaml
iscsi_facts_hp-ux_aix.yaml
jinja-now.yml
jinja2_native-fallback-warning.yaml
jinja2_nested_undefined.yaml Custom jinja Undefined class for handling nested undefined attributes (#51768) 2019-02-12 15:04:00 -05:00
jira_fix_description_field.yaml
k8s_append_hash.yml
k8s_facts_fix.yaml
k8s_module_defaults_group.yml Add k8s module_defaults group and document (#51093) 2019-01-29 14:23:27 -06:00
k8s_validate.yml
k8s_wait.yml
last-loaded-handler-same-name-wins.yaml
lineinfile-insertbefore-index-out-of-range.yaml
loop-cache-include-apply.yml
loop-control-label-template-error.yaml
loop-empty-literal-list.yaml
loop-info.yaml
loop_undefined_delegate_to.yaml
macports-upgrade-selfupdate.yml
mathstuff-filter-py3-scope.yaml
mysql-migrate_to_pymysql.yaml
network_configurable_backup_path.yaml Add backup filename and dir path option for config network modules (#50801) 2019-01-24 09:36:16 +05:30
nicer_role_list.yml
no-mutable-fieldattribute-defaults.yaml
no-overwrite-roles.yaml
no_empty_groups.yml
no_strippers.yml toggle for stripping empty shell/command output (#51342) 2019-01-29 15:55:38 -05:00
nvme_fact.yaml Add default fact for NVMe support (#50164) 2019-01-31 16:05:45 +00:00
omit-list-of-dicts.yaml
openssl-cryptography.yml
openssl-python3.yaml
openstack_inventory_fix.yml
os-server-facts-all-projects.yaml
ovirt_host_network_fix_type_conversion.yaml
pause_subsecs.yml
pear_better_error.yml
persistent_command_timeout_increase.yaml
pip-fix-idempotence-in-check-mode.yaml
piped-transfer-empty-files.yaml
platform-dist-to-nir0s-distro.yaml
playbook-order-reverse_inventory.yaml
plugin-docs-list-fix.yaml
plugin-filters-cfg.yaml
postgresql_user-not-sup-error.yaml
powershell_basic_util.yaml
ps_sb_logging.yaml
psexec-handle-socket-errors.yaml
psexec-imp-error.yaml
psrp-display-exec-output.yaml psrp - do not display bootstrap wrapper for eachach task (#51779) 2019-02-06 12:05:15 +10:00
psrp-utf8-stdio.yaml
psrp-utf8.yaml
pure_facts_fix.yaml
reboot-add-aix-support.yml
reboot-change-default-boot-command.yaml
reboot-conn-timeout-reset.yaml
reboot-fix-exception-type.yaml
reboot-path-alpine-solaris.yaml
reboot-show-timeout.yaml
reboot-unicode-string.yaml
reboot-vmware-esxi.yaml
reboot_missing_parameter.yaml
reboot_openbsd_support.yaml
redis-3-compat.yaml
remove_redundant_md5.yml
restore_sigpipe_dfl.yml
rhn_regiter-user-pass-unregister.yaml
rhsm_repository-loop-fix-improvements.yaml
run-command-expand-shell.yaml
s3_bucket_delete_nonexistent_bucket.yml
s3_bucket_fix_non_str_tags.yaml
s3_bucket_requester_pays_default_value.yaml
s3_bucket_walrus_endpoint.yaml
scaleway-getheaders.yaml
script-module-no-file-path.yaml
service-facts-dont-hist-systemd-disabled-units.yaml
sns-boto3.yaml
solaris-prtdiag-path.yaml
solaris_system_vendor.yaml Populate product_name and system_vendor facts on Solaris (#44114) 2019-01-23 13:51:23 +01:00
spotinst-instance-health-check-validation.yml
squash-deprecation-message.yml
ssh_connection_invalid_password.yaml Catch sshpass authentication errors and don't retry multiple times to prevent account lockout (#50776) 2019-01-23 11:32:25 -05:00
standardize_connection_vars.yaml standardize connection variable names (#51776) 2019-02-11 10:43:10 -05:00
static_attributes.yml add static facility and apply to register (#49737) 2019-01-24 11:51:52 -05:00
synchronize-warning.yaml
systemd-warn-on-chroot.yaml
tag_gathering.yml
tags-var.yaml
template-lookup-searchpath-fix.yaml
toml-inventory.yaml
tower_credential_ssh_key_data.yaml
tweek_msg.yml
ufw-49948-enable-chenged-status-in-check-mode.yml Enable changed var with ufw check mode (#49948) 2019-02-11 11:05:35 +00:00
unarchive-fix-bad-user-and-group.yaml Add two more failure conditions to unarchive (#51914) 2019-02-13 13:40:26 -05:00
unsafe-set-wrap.yaml
unsafe_cleanup.yml
unsafe_prompt.yml added unsafe toggle to vars_prompt (#49219) 2019-01-30 15:01:13 -05:00
uri-supports-async.yaml
urls-https-guard.yaml
user-do-not-pass-ssh_key_passphrase-on-cmdline.yaml
user-docs-underlying-tools.yaml
user-fix-zero-negative-expiration.yaml
user-password_lock-change-fix.yaml
user-restore-disabled-account.yaml
v2.8.0-initial-commit.yaml
vault-read-error.yml
vbox_fix.yml
vm_fix.yml
vm_guest_facts.yml
vm_updates.yml move extravars and option vars loading into VM (#51070) 2019-01-30 16:25:36 -05:00
vmware-deploy-ovf-inject.yml Add inject_ovf_env functionality for vmware_deploy_ovf (#51074) 2019-01-28 09:55:21 -06:00
win-say-ansible-basic.yaml
win_become-passwordless.yaml
win_chocolatey-allow-multiple.yaml
win_chocolatey.yaml
win_copy-dest-quote.yaml
win_copy-empty-dir.yaml
win_dsc-warning.yaml win_dsc - return warning from DSC invocation (#51927) 2019-02-12 13:50:00 +10:00
win_group_membership-com-marshal.yaml
win_lineinfile-output.yaml
win_mapped_drive-fixes.yaml
win_package_chdir.yaml
win_power_plan-windows10.yaml win_power_plan: fix for Windows 10 and Server 2008 compatibility (#51471) 2019-02-01 06:32:12 +10:00
win_privileges_util.yaml
win_route.yaml
win_say-fix.yaml
win_scheduled_task-repetition.yaml
win_script-become.yaml
win_security_policy-rights.yaml
win_shortcut.yaml
win_stat-follow.yaml win_stat - add follow option and fix broken tests (#51522) 2019-01-31 15:56:06 +10:00
win_updates-post-categories.yaml
win_uri-junk-data.yaml
win_uri-oneitem-list.yaml
windows-deprecated-functionality.yaml
windows-exec-changes.yaml
windows-psrp-unreachable.yaml
winrm-ansible-conn-error.yaml Raise AnsibleConnectionError on winrm connnection errors (#51744) 2019-02-13 14:55:55 -05:00
winrm_pexpect.yaml
xdg_systemd_fix.yml
yaml_inventory_more_tolerant.yml
yum-handle-obsoletes-check-update.yaml
yum-unauthenticated-proxy.yaml Properly handle unauthenticated yum proxy config (#51915) 2019-02-09 01:17:22 -05:00
yum-update-only.yaml
yumdnf-autoremove.yaml
yumdnf-better-uri-handling.yaml
yumdnf-update-cache.yaml
zabbix_inventory_vars.yaml