ansible-core 2.14.15rc1__py3-none-any.whl → 2.14.16rc1__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.

@@ -19,6 +19,6 @@
19
19
  from __future__ import (absolute_import, division, print_function)
20
20
  __metaclass__ = type
21
21
 
22
- __version__ = '2.14.15rc1'
22
+ __version__ = '2.14.16rc1'
23
23
  __author__ = 'Ansible, Inc.'
24
24
  __codename__ = "C'mon Everybody"
@@ -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
- self.protocol.cleanup_command(self.shell_id, command_id)
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
@@ -19,6 +19,6 @@
19
19
  from __future__ import (absolute_import, division, print_function)
20
20
  __metaclass__ = type
21
21
 
22
- __version__ = '2.14.15rc1'
22
+ __version__ = '2.14.16rc1'
23
23
  __author__ = 'Ansible, Inc.'
24
24
  __codename__ = "C'mon Everybody"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ansible-core
3
- Version: 2.14.15rc1
3
+ Version: 2.14.16rc1
4
4
  Summary: Radically simple IT automation
5
5
  Home-page: https://ansible.com/
6
6
  Author: Ansible, Inc.
@@ -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=IEGCN847vas58xJEhHWqDFXzjIeKsh32mpiyiQpxaHg,923
6
+ ansible/release.py,sha256=XsJ3TvcEWkIl1LuDvF8pzyAxKoETH4r5R0eYSEZHTNQ,923
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=IEGCN847vas58xJEhHWqDFXzjIeKsh32mpiyiQpxaHg,923
142
+ ansible/module_utils/ansible_release.py,sha256=XsJ3TvcEWkIl1LuDvF8pzyAxKoETH4r5R0eYSEZHTNQ,923
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=MqRyoQAmv5vmH9vCviCpPjYjoe7flnk6bw0EvqNXGzI,35367
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.15rc1.data/scripts/ansible-test,sha256=CYIYL99IxWdVTtDIj3avilIJXhGAmtjuKPPWNuLWuc8,1690
677
+ ansible_core-2.14.16rc1.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=nWFDAwPgNHp7KR5aNK1EVntxSnCEcFYo293ncYecoSY,4078
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
@@ -971,7 +971,7 @@ ansible_test/_util/target/pytest/plugins/ansible_pytest_coverage.py,sha256=Nr52Y
971
971
  ansible_test/_util/target/sanity/compile/compile.py,sha256=X1WHH2iLT4K8kyYJKlr-6AL6EAzKisL_hYrjvGrHCZ8,1637
972
972
  ansible_test/_util/target/sanity/import/importer.py,sha256=Q2cmqi-dFOfXYFzPybbWKgqMYUnjmXz7WFiYb9ysEO4,26208
973
973
  ansible_test/_util/target/setup/ConfigureRemotingForAnsible.ps1,sha256=pW9YaaSNvhc_0ijjMfSMdoQkrmZNJ-Rb4xCL8m8t7yU,16693
974
- ansible_test/_util/target/setup/bootstrap.sh,sha256=CPZvtpT8H7l2F2Th9kc85EseMm6evxsWPLCgfirBNSA,12994
974
+ ansible_test/_util/target/setup/bootstrap.sh,sha256=jhGgVHU5WZ7apNmhutW7_LIFK-_aUG9MQmIs5rHamWw,13295
975
975
  ansible_test/_util/target/setup/check_systemd_cgroup_v1.sh,sha256=Aq0T62x_KLtkGaWzYqWjvhchTqYFflrTbQET3h6xrT0,395
976
976
  ansible_test/_util/target/setup/probe_cgroups.py,sha256=ygqTkZc_YDH6EkZqp95rk_xkqsYcy_9IslPHKZO2A-8,712
977
977
  ansible_test/_util/target/setup/quiet_pip.py,sha256=k-EK8Ny7AcekGTejRFq0oV4YTVHaYUVpjfRLbKVApnc,3267
@@ -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.15rc1.dist-info/COPYING,sha256=CuBIWlvTemPmNgNZZBfk6w5lMzT6bH-TLKOg6F1K8ic,35148
996
- ansible_core-2.14.15rc1.dist-info/METADATA,sha256=AUeqnAWUL90bSe-HiuuwHkOrfdsWpf3EFy5KHCNKvzw,6907
997
- ansible_core-2.14.15rc1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
998
- ansible_core-2.14.15rc1.dist-info/entry_points.txt,sha256=0mpmsrIhODChxKl3eS-NcVQCaMetBn8KdPLtVxQgR64,453
999
- ansible_core-2.14.15rc1.dist-info/top_level.txt,sha256=IFbRLjAvih1DYzJWg3_F6t4sCzEMxRO7TOMNs6GkYHo,21
1000
- ansible_core-2.14.15rc1.dist-info/RECORD,,
995
+ ansible_core-2.14.16rc1.dist-info/COPYING,sha256=CuBIWlvTemPmNgNZZBfk6w5lMzT6bH-TLKOg6F1K8ic,35148
996
+ ansible_core-2.14.16rc1.dist-info/METADATA,sha256=xRIASk8OoHyGR8ET8vdgt7kVpVRnZqBO8RwZWnzgkwE,6907
997
+ ansible_core-2.14.16rc1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
998
+ ansible_core-2.14.16rc1.dist-info/entry_points.txt,sha256=0mpmsrIhODChxKl3eS-NcVQCaMetBn8KdPLtVxQgR64,453
999
+ ansible_core-2.14.16rc1.dist-info/top_level.txt,sha256=IFbRLjAvih1DYzJWg3_F6t4sCzEMxRO7TOMNs6GkYHo,21
1000
+ ansible_core-2.14.16rc1.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])
@@ -111,6 +111,15 @@ bootstrap_remote_alpine()
111
111
  echo "Failed to install packages. Sleeping before trying again..."
112
112
  sleep 10
113
113
  done
114
+
115
+ # Upgrade the `expat` package to ensure that an upgraded Python (`pyexpat`) continues to work.
116
+ while true; do
117
+ # shellcheck disable=SC2086
118
+ apk upgrade -q expat \
119
+ && break
120
+ echo "Failed to upgrade expat. Sleeping before trying again..."
121
+ sleep 10
122
+ done
114
123
  }
115
124
 
116
125
  bootstrap_remote_fedora()