ansible-core 2.14.15__py3-none-any.whl → 2.14.16__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of ansible-core might be problematic. Click here for more details.
- ansible/module_utils/ansible_release.py +1 -1
- ansible/plugins/connection/winrm.py +14 -2
- ansible/release.py +1 -1
- {ansible_core-2.14.15.dist-info → ansible_core-2.14.16.dist-info}/METADATA +1 -1
- {ansible_core-2.14.15.dist-info → ansible_core-2.14.16.dist-info}/RECORD +11 -11
- ansible_test/_internal/commands/sanity/ansible_doc.py +1 -1
- {ansible_core-2.14.15.data → ansible_core-2.14.16.data}/scripts/ansible-test +0 -0
- {ansible_core-2.14.15.dist-info → ansible_core-2.14.16.dist-info}/COPYING +0 -0
- {ansible_core-2.14.15.dist-info → ansible_core-2.14.16.dist-info}/WHEEL +0 -0
- {ansible_core-2.14.15.dist-info → ansible_core-2.14.16.dist-info}/entry_points.txt +0 -0
- {ansible_core-2.14.15.dist-info → ansible_core-2.14.16.dist-info}/top_level.txt +0 -0
|
@@ -177,7 +177,7 @@ from ansible.utils.display import Display
|
|
|
177
177
|
try:
|
|
178
178
|
import winrm
|
|
179
179
|
from winrm import Response
|
|
180
|
-
from winrm.exceptions import WinRMError, WinRMOperationTimeoutError
|
|
180
|
+
from winrm.exceptions import WinRMError, WinRMOperationTimeoutError, WinRMTransportError
|
|
181
181
|
from winrm.protocol import Protocol
|
|
182
182
|
import requests.exceptions
|
|
183
183
|
HAS_WINRM = True
|
|
@@ -582,7 +582,19 @@ class Connection(ConnectionBase):
|
|
|
582
582
|
raise AnsibleConnectionFailure('winrm connection error: %s' % to_native(exc))
|
|
583
583
|
finally:
|
|
584
584
|
if command_id:
|
|
585
|
-
|
|
585
|
+
# Due to a bug in how pywinrm works with message encryption we
|
|
586
|
+
# ignore a 400 error which can occur when a task timeout is
|
|
587
|
+
# set and the code tries to clean up the command. This happens
|
|
588
|
+
# as the cleanup msg is sent over a new socket but still uses
|
|
589
|
+
# the already encrypted payload bound to the other socket
|
|
590
|
+
# causing the server to reply with 400 Bad Request.
|
|
591
|
+
try:
|
|
592
|
+
self.protocol.cleanup_command(self.shell_id, command_id)
|
|
593
|
+
except WinRMTransportError as e:
|
|
594
|
+
if e.code != 400:
|
|
595
|
+
raise
|
|
596
|
+
|
|
597
|
+
display.warning("Failed to cleanup running WinRM command, resources might still be in use on the target server")
|
|
586
598
|
|
|
587
599
|
def _connect(self):
|
|
588
600
|
|
ansible/release.py
CHANGED
|
@@ -3,7 +3,7 @@ ansible/__main__.py,sha256=IvyRvY64pT0on94qCLibxgDJ0-7_2CRoaZ5kfGOl54Q,1395
|
|
|
3
3
|
ansible/constants.py,sha256=JLIDnuSz3_PbtXWsL4vnvVBbxlh3lSrJREd7T73atEI,8293
|
|
4
4
|
ansible/context.py,sha256=OzSlaA_GgGRyyf5I209sy19_eGOX6HXn441W9w_FcvU,2018
|
|
5
5
|
ansible/keyword_desc.yml,sha256=FYY0Ld1Xc3AxJ_Tefz78kRSYzIKGS8qcPtVk370J118,7367
|
|
6
|
-
ansible/release.py,sha256=
|
|
6
|
+
ansible/release.py,sha256=X8UjjtcvcVa2LaPpXuwYHjig48y8lbL-u3SVUgcHNxs,920
|
|
7
7
|
ansible/_vendor/__init__.py,sha256=wJRKH7kI9OzYVY9hgSchOsTNTmTnugpPLGYj9Y5akX0,2086
|
|
8
8
|
ansible/cli/__init__.py,sha256=yDt8_ny7HauC9Aj-MMHQr3Y6gDQADfdEU0O1BfzkSwA,27957
|
|
9
9
|
ansible/cli/adhoc.py,sha256=pGW6eysaireovp4sVsUuntg-l1o7DSujuhxVhVC2zsM,8230
|
|
@@ -139,7 +139,7 @@ ansible/inventory/host.py,sha256=wXJp6kpSaZtDr4JNsgdAuhi5MzQ9LTQzaAH10zoVbIA,505
|
|
|
139
139
|
ansible/inventory/manager.py,sha256=tGwhBR6poLuG_i4jZ5RGOG-rH4gu4DBfT0-4iLLZZMs,29490
|
|
140
140
|
ansible/module_utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
141
141
|
ansible/module_utils/_text.py,sha256=VCjTJovTxGfLahnzyrvOehpwTXLpRzMUug6wheirt4A,565
|
|
142
|
-
ansible/module_utils/ansible_release.py,sha256=
|
|
142
|
+
ansible/module_utils/ansible_release.py,sha256=X8UjjtcvcVa2LaPpXuwYHjig48y8lbL-u3SVUgcHNxs,920
|
|
143
143
|
ansible/module_utils/api.py,sha256=BTo7stVOANbtd-ngZslaqx70r9t5gfvo44cKyu5SFjU,5837
|
|
144
144
|
ansible/module_utils/basic.py,sha256=dGTJD-84x2a0hqKgoqB6PNhjmOEqYuuf2EgWyX5zVC8,86621
|
|
145
145
|
ansible/module_utils/connection.py,sha256=XHxMlyAdwLiXDSo8jBMkV61-lz_0FDJUYH1B152UGJU,8430
|
|
@@ -437,7 +437,7 @@ ansible/plugins/connection/local.py,sha256=W2HFk14nKVaMZUE7YeX2bJLL0dvsVqYRf3qtC
|
|
|
437
437
|
ansible/plugins/connection/paramiko_ssh.py,sha256=Q2Mb26uPx3rJoOU_VfU41Z3QCKMF5BRBmaiyZNMSo7s,27137
|
|
438
438
|
ansible/plugins/connection/psrp.py,sha256=I_wlNupun2ktjIk8eOBEWljH6aAoG6jQ3513TJ67k3E,36041
|
|
439
439
|
ansible/plugins/connection/ssh.py,sha256=hhLrkXrJB9cWn12tpEv7ybe-jvCwN3Rh-vjCvn5JWbQ,62297
|
|
440
|
-
ansible/plugins/connection/winrm.py,sha256=
|
|
440
|
+
ansible/plugins/connection/winrm.py,sha256=4XzWp2MXf-ZleOEgQUVnGIcJwBpdQRyuRInVuyHPB18,36118
|
|
441
441
|
ansible/plugins/doc_fragments/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
442
442
|
ansible/plugins/doc_fragments/action_common_attributes.py,sha256=ouV8CMIP0TkfkxN4p_pLbPvRSC5wu6w0Y6ScONOg-c4,2449
|
|
443
443
|
ansible/plugins/doc_fragments/action_core.py,sha256=f4UV5QBnmtiecabxbXbTlxZtcPGQH2PNN9gNGVnYPh4,2908
|
|
@@ -674,7 +674,7 @@ ansible/vars/hostvars.py,sha256=dg3jpVmNwSg8EJ4SIvYGT80uxMgRtrOW6vvtDfrQzDU,5152
|
|
|
674
674
|
ansible/vars/manager.py,sha256=9d-9uD9x1X35QgLOZRyJtAxg3b1j4sp8Ivc5C78viOk,36178
|
|
675
675
|
ansible/vars/plugins.py,sha256=B7L3fXoSOoBZSXqJ2ulk0adx1g5SpAb8BxyLGPNA7d4,4695
|
|
676
676
|
ansible/vars/reserved.py,sha256=FBD7n2dnA0CW4I0J1LtWwk2hQqvGW0KTRPcxaRtMKWo,2615
|
|
677
|
-
ansible_core-2.14.
|
|
677
|
+
ansible_core-2.14.16.data/scripts/ansible-test,sha256=CYIYL99IxWdVTtDIj3avilIJXhGAmtjuKPPWNuLWuc8,1690
|
|
678
678
|
ansible_test/__init__.py,sha256=6e721yAyyyocRKzbCKtQXloAfFP7Aqv0L3zG70uh-4A,190
|
|
679
679
|
ansible_test/_data/ansible.cfg,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
680
680
|
ansible_test/_data/coveragerc,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -853,7 +853,7 @@ ansible_test/_internal/commands/integration/cloud/scaleway.py,sha256=ZoScZMW5xP-
|
|
|
853
853
|
ansible_test/_internal/commands/integration/cloud/vcenter.py,sha256=n4xTIk35GTbM1XDnxtBccAQIU2tpqiRhhWuHXW-8RMk,4785
|
|
854
854
|
ansible_test/_internal/commands/integration/cloud/vultr.py,sha256=TE43tKiAerXbKD9FXBrBVzeWNUB87qtR5twg_zDicHM,1488
|
|
855
855
|
ansible_test/_internal/commands/sanity/__init__.py,sha256=D9xQCctCtPETZ2UH7ORUjeTcQkjzUXeRnq0paoa3Oho,50043
|
|
856
|
-
ansible_test/_internal/commands/sanity/ansible_doc.py,sha256=
|
|
856
|
+
ansible_test/_internal/commands/sanity/ansible_doc.py,sha256=EygNDpM_JKyqvFnRxtbqmnqtIuUno133DvM0XrNbJps,4120
|
|
857
857
|
ansible_test/_internal/commands/sanity/bin_symlinks.py,sha256=uDiaMM3lf9KLlGTlGT53zYjgj6Fo-G-_dhJgFWnLS-o,3072
|
|
858
858
|
ansible_test/_internal/commands/sanity/compile.py,sha256=ZQwHB85a7N6utr038kLbDZwFlXGEJMkSI63YyoGcd-I,2539
|
|
859
859
|
ansible_test/_internal/commands/sanity/ignores.py,sha256=9wpzc8eRKS4nAVWOeSgXju5j1tDXNFPMSlskrR-Pohs,2789
|
|
@@ -992,9 +992,9 @@ ansible_test/config/cloud-config-vultr.ini.template,sha256=yO2Xz76Ay3kbG54jX7y8-
|
|
|
992
992
|
ansible_test/config/config.yml,sha256=wb3knoBmZewG3GWOMnRHoVPQWW4vPixKLPMNS6vJmTc,2620
|
|
993
993
|
ansible_test/config/inventory.networking.template,sha256=vQ7x1-u5Q4Y5CqZU-7eMSEJOSCzAbPOL1rmK_AQOQuY,1262
|
|
994
994
|
ansible_test/config/inventory.winrm.template,sha256=_M2i1B9RYfwSjwvgf3M-H_5Br5FO_kney_kMRPmoggk,1025
|
|
995
|
-
ansible_core-2.14.
|
|
996
|
-
ansible_core-2.14.
|
|
997
|
-
ansible_core-2.14.
|
|
998
|
-
ansible_core-2.14.
|
|
999
|
-
ansible_core-2.14.
|
|
1000
|
-
ansible_core-2.14.
|
|
995
|
+
ansible_core-2.14.16.dist-info/COPYING,sha256=CuBIWlvTemPmNgNZZBfk6w5lMzT6bH-TLKOg6F1K8ic,35148
|
|
996
|
+
ansible_core-2.14.16.dist-info/METADATA,sha256=ROrWVpD4Dtrbw81vk4yV8-K8-QSSSEm7xu_vqP7OtWo,6904
|
|
997
|
+
ansible_core-2.14.16.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
998
|
+
ansible_core-2.14.16.dist-info/entry_points.txt,sha256=0mpmsrIhODChxKl3eS-NcVQCaMetBn8KdPLtVxQgR64,453
|
|
999
|
+
ansible_core-2.14.16.dist-info/top_level.txt,sha256=IFbRLjAvih1DYzJWg3_F6t4sCzEMxRO7TOMNs6GkYHo,21
|
|
1000
|
+
ansible_core-2.14.16.dist-info/RECORD,,
|
|
@@ -77,7 +77,7 @@ class AnsibleDocTest(SanitySingleVersion):
|
|
|
77
77
|
plugin_parts = os.path.relpath(plugin_file_path, plugin_path).split(os.path.sep)
|
|
78
78
|
plugin_name = os.path.splitext(plugin_parts[-1])[0]
|
|
79
79
|
|
|
80
|
-
if plugin_name.startswith('_'):
|
|
80
|
+
if plugin_name.startswith('_') and not data_context().content.collection:
|
|
81
81
|
plugin_name = plugin_name[1:]
|
|
82
82
|
|
|
83
83
|
plugin_fqcn = data_context().content.prefix + '.'.join(plugin_parts[:-1] + [plugin_name])
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|