ansible-core 2.18.9rc1__py3-none-any.whl → 2.18.10__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.

@@ -17,6 +17,6 @@
17
17
 
18
18
  from __future__ import annotations
19
19
 
20
- __version__ = '2.18.9rc1'
20
+ __version__ = '2.18.10'
21
21
  __author__ = 'Ansible, Inc.'
22
22
  __codename__ = "Fool in the Rain"
@@ -1972,7 +1972,7 @@ class AnsibleModule(object):
1972
1972
  stdout_changed = False
1973
1973
  for key, event in events:
1974
1974
  b_chunk = key.fileobj.read(32768)
1975
- if not b_chunk:
1975
+ if not b_chunk and b_chunk is not None:
1976
1976
  selector.unregister(key.fileobj)
1977
1977
  elif key.fileobj == cmd.stdout:
1978
1978
  stdout += b_chunk
@@ -55,10 +55,13 @@ def probe_interpreters_for_module(interpreter_paths, module_name):
55
55
  :arg interpreter_paths: iterable of paths to Python interpreters. The paths will be probed
56
56
  in order, and the first path that exists and can successfully import the named module will
57
57
  be returned (or ``None`` if probing fails for all supplied paths).
58
- :arg module_name: fully-qualified Python module name to probe for (eg, ``selinux``)
58
+ :arg module_name: fully-qualified Python module name to probe for (for example, ``selinux``)
59
59
  """
60
60
  PYTHONPATH = os.getenv('PYTHONPATH', '')
61
- env = os.environ | {'PYTHONPATH': f'{_ANSIBLE_PARENT_PATH}:{PYTHONPATH}'.rstrip(': ')}
61
+ env = os.environ.copy()
62
+ env.update({
63
+ 'PYTHONPATH': f'{_ANSIBLE_PARENT_PATH}:{PYTHONPATH}'.rstrip(': ')
64
+ })
62
65
  for interpreter_path in interpreter_paths:
63
66
  if not os.path.exists(interpreter_path):
64
67
  continue
ansible/release.py CHANGED
@@ -17,6 +17,6 @@
17
17
 
18
18
  from __future__ import annotations
19
19
 
20
- __version__ = '2.18.9rc1'
20
+ __version__ = '2.18.10'
21
21
  __author__ = 'Ansible, Inc.'
22
22
  __codename__ = "Fool in the Rain"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ansible-core
3
- Version: 2.18.9rc1
3
+ Version: 2.18.10
4
4
  Summary: Radically simple IT automation
5
5
  Author: Ansible Project
6
6
  Project-URL: Homepage, https://ansible.com/
@@ -3,7 +3,7 @@ ansible/__main__.py,sha256=24j-7-YT4lZ2fmV80JD-VRoYBnxR7YoP_VP-orJtDt0,796
3
3
  ansible/constants.py,sha256=dSgbrzNsmhYc4GQOWZvRm4XKgf--_MUWcMa_9_7l5Pc,9757
4
4
  ansible/context.py,sha256=oKYyfjfWpy8vDeProtqfnqSmuij_t75_5e5t0U_hQ1g,1933
5
5
  ansible/keyword_desc.yml,sha256=xD-MRMB8mSRaj2ADwRnjIEbOwJKbc6BYadouGPfS0mI,7462
6
- ansible/release.py,sha256=cz6pm0cY8y6gC4Z_HVFz2ylNhzHGCZKUZzWN0IwYwys,839
6
+ ansible/release.py,sha256=uwwYi59ngR0dXxEi1odJFBZCKDu3UX81IPBr5pcNTWo,837
7
7
  ansible/_vendor/__init__.py,sha256=2QBeBwT7uG7M3Aw-pIdCpt6XPtHMCpbEKfACYKA7xIg,2033
8
8
  ansible/cli/__init__.py,sha256=e0KjeLfG1Ketbwl-uOmQ-zXoq3_El80LnHTGu80d1gs,28111
9
9
  ansible/cli/adhoc.py,sha256=quJ9WzRzf3dz_dtDGmahNMffqyNVy1jzQCMo21YL5Qg,8194
@@ -141,9 +141,9 @@ ansible/inventory/host.py,sha256=PDb5OTplhfpUIvdHiP2BckUOB1gUl302N-3sW0_sTyg,503
141
141
  ansible/inventory/manager.py,sha256=45mHgZTAkQ3IjAtrgsNzJXvynC-HIEor-JJE-V3xXN4,29454
142
142
  ansible/module_utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
143
143
  ansible/module_utils/_text.py,sha256=VkWgAnSNVCbTQqZgllUObBFsH3uM4EUW5srl1UR9t1g,544
144
- ansible/module_utils/ansible_release.py,sha256=cz6pm0cY8y6gC4Z_HVFz2ylNhzHGCZKUZzWN0IwYwys,839
144
+ ansible/module_utils/ansible_release.py,sha256=uwwYi59ngR0dXxEi1odJFBZCKDu3UX81IPBr5pcNTWo,837
145
145
  ansible/module_utils/api.py,sha256=r4wd6XZGhUnxMF416Ry6ebgq8BIhjCPSPOvO2ZtrYxE,5785
146
- ansible/module_utils/basic.py,sha256=fogfpo_l7JtS34WvgwwOebmPfMhFjQaJN5CwjKgUJVE,86291
146
+ ansible/module_utils/basic.py,sha256=Ldqn6TiFM8jUll-x_Er-wkWfc56jVssKIqwoCFByujg,86315
147
147
  ansible/module_utils/connection.py,sha256=8TviwCucQ7d_JILwaUHE4tCuNfR3U1WFkmxLMxWa8Rw,7671
148
148
  ansible/module_utils/errors.py,sha256=cOVAUZaQTeYaSGhKnYsT3L8vshayQHbCXzkT6HIVi_o,3345
149
149
  ansible/module_utils/json_utils.py,sha256=2WuR79zOoVVP4zo8iztwzE_k2JdXawpWh855YhdPIDU,3403
@@ -168,7 +168,7 @@ ansible/module_utils/common/locale.py,sha256=lLQU-CU4YfTVK8EknMb-PLKIAf5eAjD0ZwE
168
168
  ansible/module_utils/common/network.py,sha256=ffFrBriNPHFDslP54NRN3QaJADEWBG7eCgv5c7RcOHs,4226
169
169
  ansible/module_utils/common/parameters.py,sha256=VxFSxcIeY-7bqWoamBIQHL1AN3rJXxSHScBRc5gY5RM,37303
170
170
  ansible/module_utils/common/process.py,sha256=w7RqZy5RuqWKGEZ6GlA3Hb8ePkS3-cxM65AsnKFBRfo,2281
171
- ansible/module_utils/common/respawn.py,sha256=Wssx9kz1kHw42IHf9eylnK7R8bywrpJdyzRrzV7zQr8,4129
171
+ ansible/module_utils/common/respawn.py,sha256=D1yz78YwNkaBKFHEiWhRwyiWqSSIAt2kLU_bGiWKBWo,4173
172
172
  ansible/module_utils/common/sys_info.py,sha256=eOtNyL8SMTFEDqjS8PrvKiaSeRq92Fz_awii2K_z6aE,5436
173
173
  ansible/module_utils/common/validation.py,sha256=gsjY9oofCJHWoU5fvNBjgvPG5uTTV0S8NylodCRU2W8,19630
174
174
  ansible/module_utils/common/warnings.py,sha256=ifWww0in1jod-3ffJB7NmQSF0eaejxwAmYYWzUYhkRw,1365
@@ -687,11 +687,11 @@ ansible/vars/hostvars.py,sha256=o11xrzDVYn23renGbb3lx3R-nH9qOjLFju5IYJanDxg,5324
687
687
  ansible/vars/manager.py,sha256=JF2KTL4iYSbcdnFNjhQPktwH05YhWJhTWtjSlF0qg9E,31260
688
688
  ansible/vars/plugins.py,sha256=PocWZPMqFl1LoNgWlGFNxwg9nZnUzhQmlXO4g7bcP2A,4503
689
689
  ansible/vars/reserved.py,sha256=Tsc4m2UwVce3dOvSWrjT2wB3lpNJtUyNZn45zNhsW0I,2869
690
- ansible_core-2.18.9rc1.dist-info/licenses/COPYING,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
691
- ansible_core-2.18.9rc1.dist-info/licenses/licenses/Apache-License.txt,sha256=y16Ofl9KOYjhBjwULGDcLfdWBfTEZRXnduOspt-XbhQ,11325
692
- ansible_core-2.18.9rc1.dist-info/licenses/licenses/MIT-license.txt,sha256=jLXp2XurnyZKbye40g9tfmLGtVlxh3pPD4n8xNqX8xc,1023
693
- ansible_core-2.18.9rc1.dist-info/licenses/licenses/PSF-license.txt,sha256=g7BC_H1qyg8Q1o5F76Vrm8ChSWYI5-dyj-CdGlNKBUo,2484
694
- ansible_core-2.18.9rc1.dist-info/licenses/licenses/simplified_bsd.txt,sha256=8R5R7R7sOa0h1Fi6RNgFgHowHBfun-OVOMzJ4rKAk2w,1237
690
+ ansible_core-2.18.10.dist-info/licenses/COPYING,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
691
+ ansible_core-2.18.10.dist-info/licenses/licenses/Apache-License.txt,sha256=y16Ofl9KOYjhBjwULGDcLfdWBfTEZRXnduOspt-XbhQ,11325
692
+ ansible_core-2.18.10.dist-info/licenses/licenses/MIT-license.txt,sha256=jLXp2XurnyZKbye40g9tfmLGtVlxh3pPD4n8xNqX8xc,1023
693
+ ansible_core-2.18.10.dist-info/licenses/licenses/PSF-license.txt,sha256=g7BC_H1qyg8Q1o5F76Vrm8ChSWYI5-dyj-CdGlNKBUo,2484
694
+ ansible_core-2.18.10.dist-info/licenses/licenses/simplified_bsd.txt,sha256=8R5R7R7sOa0h1Fi6RNgFgHowHBfun-OVOMzJ4rKAk2w,1237
695
695
  ansible_test/__init__.py,sha256=20VPOj11c6Ut1Av9RaurgwJvFhMqkWG3vAvcCbecNKw,66
696
696
  ansible_test/_data/ansible.cfg,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
697
697
  ansible_test/_data/coveragerc,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -985,8 +985,8 @@ ansible_test/config/cloud-config-vultr.ini.template,sha256=XLKHk3lg_8ReQMdWfZzhh
985
985
  ansible_test/config/config.yml,sha256=1zdGucnIl6nIecZA7ISIANvqXiHWqq6Dthsk_6MUwNc,2642
986
986
  ansible_test/config/inventory.networking.template,sha256=bFNSk8zNQOaZ_twaflrY0XZ9mLwUbRLuNT0BdIFwvn4,1335
987
987
  ansible_test/config/inventory.winrm.template,sha256=1QU8W-GFLnYEw8yY9bVIvUAVvJYPM3hyoijf6-M7T00,1098
988
- ansible_core-2.18.9rc1.dist-info/METADATA,sha256=Q5A08nuTPaLqmLm5WcWX5qZhKrFUyYum1dpwEQw40_k,7693
989
- ansible_core-2.18.9rc1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
990
- ansible_core-2.18.9rc1.dist-info/entry_points.txt,sha256=S9yJij5Im6FgRQxzkqSCnPQokC7PcWrDW_NSygZczJU,451
991
- ansible_core-2.18.9rc1.dist-info/top_level.txt,sha256=IFbRLjAvih1DYzJWg3_F6t4sCzEMxRO7TOMNs6GkYHo,21
992
- ansible_core-2.18.9rc1.dist-info/RECORD,,
988
+ ansible_core-2.18.10.dist-info/METADATA,sha256=NkvFCgNQf3SbaRLvO2Ft0Tj66kIXC7JEZqz0vDpyvI8,7691
989
+ ansible_core-2.18.10.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
990
+ ansible_core-2.18.10.dist-info/entry_points.txt,sha256=S9yJij5Im6FgRQxzkqSCnPQokC7PcWrDW_NSygZczJU,451
991
+ ansible_core-2.18.10.dist-info/top_level.txt,sha256=IFbRLjAvih1DYzJWg3_F6t4sCzEMxRO7TOMNs6GkYHo,21
992
+ ansible_core-2.18.10.dist-info/RECORD,,