ansible-core 2.15.10__py3-none-any.whl → 2.15.11rc1__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.15.10'
22
+ __version__ = '2.15.11rc1'
23
23
  __author__ = 'Ansible, Inc.'
24
24
  __codename__ = "Ten Years Gone"
ansible/modules/dnf5.py CHANGED
@@ -484,7 +484,7 @@ class Dnf5Module(YumDnf):
484
484
  conf.config_file_path = self.conf_file
485
485
 
486
486
  try:
487
- base.load_config_from_file()
487
+ base.load_config()
488
488
  except RuntimeError as e:
489
489
  self.module.fail_json(
490
490
  msg=str(e),
@@ -520,7 +520,8 @@ class Dnf5Module(YumDnf):
520
520
  log_router = base.get_logger()
521
521
  global_logger = libdnf5.logger.GlobalLogger()
522
522
  global_logger.set(log_router.get(), libdnf5.logger.Logger.Level_DEBUG)
523
- logger = libdnf5.logger.create_file_logger(base)
523
+ # FIXME hardcoding the filename does not seem right, should libdnf5 expose the default file name?
524
+ logger = libdnf5.logger.create_file_logger(base, "dnf5.log")
524
525
  log_router.add_logger(logger)
525
526
 
526
527
  if self.update_cache:
@@ -545,7 +546,11 @@ class Dnf5Module(YumDnf):
545
546
  for repo in repo_query:
546
547
  repo.enable()
547
548
 
548
- sack.update_and_load_enabled_repos(True)
549
+ try:
550
+ sack.load_repos()
551
+ except AttributeError:
552
+ # dnf5 < 5.2.0.0
553
+ sack.update_and_load_enabled_repos(True)
549
554
 
550
555
  if self.update_cache and not self.names and not self.list:
551
556
  self.module.exit_json(
@@ -577,7 +582,11 @@ class Dnf5Module(YumDnf):
577
582
  self.module.exit_json(msg="", results=results, rc=0)
578
583
 
579
584
  settings = libdnf5.base.GoalJobSettings()
580
- settings.group_with_name = True
585
+ try:
586
+ settings.set_group_with_name(True)
587
+ except AttributeError:
588
+ # dnf5 < 5.2.0.0
589
+ settings.group_with_name = True
581
590
  if self.bugfix or self.security:
582
591
  advisory_query = libdnf5.advisory.AdvisoryQuery(base)
583
592
  types = []
@@ -969,7 +969,7 @@ class TarZstdArchive(TgzArchive):
969
969
  class ZipZArchive(ZipArchive):
970
970
  def __init__(self, src, b_dest, file_args, module):
971
971
  super(ZipZArchive, self).__init__(src, b_dest, file_args, module)
972
- self.zipinfoflag = '-Z'
972
+ self.zipinfoflag = '-Zl'
973
973
  self.binaries = (
974
974
  ('unzip', 'cmd_path'),
975
975
  ('unzip', 'zipinfo_cmd_path'),
@@ -575,7 +575,7 @@ class Role(Base, Conditional, Taggable, CollectionSearch, Delegatable):
575
575
  at least one task was run
576
576
  '''
577
577
 
578
- return host.name in self._completed and not self._metadata.allow_duplicates
578
+ return host.name in self._completed
579
579
 
580
580
  def compile(self, play, dep_chain=None):
581
581
  '''
@@ -165,6 +165,7 @@ class BaseFileCacheModule(BaseCacheModule):
165
165
  display.warning("error in '%s' cache plugin while trying to write to '%s' : %s" % (self.plugin_name, tmpfile_path, to_bytes(e)))
166
166
  try:
167
167
  os.rename(tmpfile_path, cachefile)
168
+ os.chmod(cachefile, mode=0o644)
168
169
  except (OSError, IOError) as e:
169
170
  display.warning("error in '%s' cache plugin while trying to move '%s' to '%s' : %s" % (self.plugin_name, tmpfile_path, cachefile, to_bytes(e)))
170
171
  finally:
@@ -197,7 +197,7 @@ from ansible.utils.display import Display
197
197
 
198
198
  try:
199
199
  import winrm
200
- from winrm.exceptions import WinRMError, WinRMOperationTimeoutError
200
+ from winrm.exceptions import WinRMError, WinRMOperationTimeoutError, WinRMTransportError
201
201
  from winrm.protocol import Protocol
202
202
  import requests.exceptions
203
203
  HAS_WINRM = True
@@ -664,7 +664,19 @@ class Connection(ConnectionBase):
664
664
  raise AnsibleConnectionFailure('winrm connection error: %s' % to_native(exc))
665
665
  finally:
666
666
  if command_id:
667
- self.protocol.cleanup_command(self.shell_id, command_id)
667
+ # Due to a bug in how pywinrm works with message encryption we
668
+ # ignore a 400 error which can occur when a task timeout is
669
+ # set and the code tries to clean up the command. This happens
670
+ # as the cleanup msg is sent over a new socket but still uses
671
+ # the already encrypted payload bound to the other socket
672
+ # causing the server to reply with 400 Bad Request.
673
+ try:
674
+ self.protocol.cleanup_command(self.shell_id, command_id)
675
+ except WinRMTransportError as e:
676
+ if e.code != 400:
677
+ raise
678
+
679
+ display.warning("Failed to cleanup running WinRM command, resources might still be in use on the target server")
668
680
 
669
681
  def _connect(self):
670
682
 
@@ -177,7 +177,7 @@ class StrategyModule(StrategyBase):
177
177
  # role which has already run (and whether that role allows duplicate execution)
178
178
  if not isinstance(task, Handler) and task._role:
179
179
  role_obj = self._get_cached_role(task, iterator._play)
180
- if role_obj.has_run(host) and role_obj._metadata.allow_duplicates is False:
180
+ if role_obj.has_run(host) and task._role._metadata.allow_duplicates is False:
181
181
  display.debug("'%s' skipped because role has already run" % task, host=host_name)
182
182
  del self._blocked_hosts[host_name]
183
183
  continue
@@ -172,7 +172,7 @@ class StrategyModule(StrategyBase):
172
172
  # role which has already run (and whether that role allows duplicate execution)
173
173
  if not isinstance(task, Handler) and task._role:
174
174
  role_obj = self._get_cached_role(task, iterator._play)
175
- if role_obj.has_run(host) and role_obj._metadata.allow_duplicates is False:
175
+ if role_obj.has_run(host) and task._role._metadata.allow_duplicates is False:
176
176
  display.debug("'%s' skipped because role has already run" % task)
177
177
  continue
178
178
 
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.15.10'
22
+ __version__ = '2.15.11rc1'
23
23
  __author__ = 'Ansible, Inc.'
24
24
  __codename__ = "Ten Years Gone"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ansible-core
3
- Version: 2.15.10
3
+ Version: 2.15.11rc1
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=vE9joFgSeHR4Djl7Bd-HHVCrGByRCrTUmWYZ8LKPZKk,7412
6
- ansible/release.py,sha256=lYWZloy5HOGWpCrqn5DgNTclgwRlRBoiwf5N12D592A,919
6
+ ansible/release.py,sha256=2lSmrDPOiwLbPQ1vOg2o9qtg-X0wi3xxpBPxg5M73DI,922
7
7
  ansible/_vendor/__init__.py,sha256=wJRKH7kI9OzYVY9hgSchOsTNTmTnugpPLGYj9Y5akX0,2086
8
8
  ansible/cli/__init__.py,sha256=ZK8bKuMmeRqeAcePriGtJ0tMuoDur3sN-ySBmOzAF3c,28687
9
9
  ansible/cli/adhoc.py,sha256=pGW6eysaireovp4sVsUuntg-l1o7DSujuhxVhVC2zsM,8230
@@ -140,7 +140,7 @@ ansible/inventory/host.py,sha256=wXJp6kpSaZtDr4JNsgdAuhi5MzQ9LTQzaAH10zoVbIA,505
140
140
  ansible/inventory/manager.py,sha256=tGwhBR6poLuG_i4jZ5RGOG-rH4gu4DBfT0-4iLLZZMs,29490
141
141
  ansible/module_utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
142
142
  ansible/module_utils/_text.py,sha256=F_YfeaxhwmTI16HICAzQS9ZmlKgBDdQ4mqR-Kh--okg,597
143
- ansible/module_utils/ansible_release.py,sha256=lYWZloy5HOGWpCrqn5DgNTclgwRlRBoiwf5N12D592A,919
143
+ ansible/module_utils/ansible_release.py,sha256=2lSmrDPOiwLbPQ1vOg2o9qtg-X0wi3xxpBPxg5M73DI,922
144
144
  ansible/module_utils/api.py,sha256=BTo7stVOANbtd-ngZslaqx70r9t5gfvo44cKyu5SFjU,5837
145
145
  ansible/module_utils/basic.py,sha256=wzb7sayWWJC6BzzUUI3-GJQppKrVWiuiUcv0pIDHsJA,88437
146
146
  ansible/module_utils/connection.py,sha256=XHxMlyAdwLiXDSo8jBMkV61-lz_0FDJUYH1B152UGJU,8430
@@ -292,7 +292,7 @@ ansible/modules/deb822_repository.py,sha256=uVmdJId_qMFJLpFpcgDkDUsl7hZmS7UxhLVk
292
292
  ansible/modules/debconf.py,sha256=uCnyPYGhNPHq7cBUVzfxHp_5-N8RauBL8zlc19NHQic,7732
293
293
  ansible/modules/debug.py,sha256=_wSyvOmlhpDeiD40oC_uwbRisSJLVbfIbEN98TJxVfs,2958
294
294
  ansible/modules/dnf.py,sha256=OqX1KZlkop-pW5ye1kSUQqbn4y41wgDcVTdSf-VPJX0,59955
295
- ansible/modules/dnf5.py,sha256=EPhfa7i1TgbZ3vJOzGvSXG458cR444sjRg5Jv_WTZUg,25603
295
+ ansible/modules/dnf5.py,sha256=ZsvOWNl1lEpYivLTDu3Ta8GqHltjmqvZPKiE9wbTffw,25942
296
296
  ansible/modules/dpkg_selections.py,sha256=X3owrI7nDVM2tYOiVgLPkzBEZxfwkfBuomjbAfzG1GQ,2408
297
297
  ansible/modules/expect.py,sha256=dselod_fRiiUVKXZa-kt6xtoz1RUEZB30Mn3xZmqFDQ,8653
298
298
  ansible/modules/fail.py,sha256=AI4gNQC7E5U2Vs7QiIlFk7PcWozN0tXtiVPa_LJrQpk,1710
@@ -340,7 +340,7 @@ ansible/modules/systemd_service.py,sha256=QSyPV1YM0EnvR1mnzpko-nk1IwKWJ25TZKU8hx
340
340
  ansible/modules/sysvinit.py,sha256=xFhfQLwTdcbV7xVdlItHeLFDdU0t3rjiWoY1qocCIs0,13798
341
341
  ansible/modules/tempfile.py,sha256=D4l0CHjp9AIC0o1BBDvw8UWQkWpilnc9VdmxNChxq6E,3502
342
342
  ansible/modules/template.py,sha256=k0h7j9n9v2efC0f1boCsTq2NwgTLkFuQxgxmUgq4nZE,3171
343
- ansible/modules/unarchive.py,sha256=kO7V_VBll7n__wQum3BepmBHgQzdbfU0CB0_sf9v49E,44322
343
+ ansible/modules/unarchive.py,sha256=mWo9EeZ0K2IALAzMcvKg7MmpTVr-bLmSJsffgD4E4GA,44323
344
344
  ansible/modules/uri.py,sha256=WxTR6SU12aYFQRmoK94-C6t5sOFh_iSFXi3CQVQAXCk,28484
345
345
  ansible/modules/user.py,sha256=Tor9kvzd9cr34hqItK8pxztTp1qlZ7-SfqbRU1Ynq5o,116574
346
346
  ansible/modules/validate_argument_spec.py,sha256=wbFJ6zNUOcRBtmES7rYBqt_Cqior9CKVBNem5k6jvsk,3128
@@ -385,7 +385,7 @@ ansible/playbook/role_include.py,sha256=zdEtObpYpm303eS6iGabgSGE8heI3QbsNXIbP61v
385
385
  ansible/playbook/taggable.py,sha256=QpIS7BXQ9N48Vu1HW96OdSMyrQHckYtCgsVL9-mv-Ts,3249
386
386
  ansible/playbook/task.py,sha256=CmG2qnerjn402XE-zMl-paKLRqE-Q0XUkuLwcX928o8,21450
387
387
  ansible/playbook/task_include.py,sha256=Qs6CpbwRcuyZeVaDGDclR5V-ZjZErncLpvmAGywRIro,6043
388
- ansible/playbook/role/__init__.py,sha256=n-L4LYAJgv6u-Uf_yv98NZM_vD48WJpAnPu-KiJnTHc,29144
388
+ ansible/playbook/role/__init__.py,sha256=aDuf26MVs8gDdt0mEqbprhVQoYSiu5jwTDMQq2VvCeY,29104
389
389
  ansible/playbook/role/definition.py,sha256=MGvEmAsOUYj2geHD5H7JG4N5O3wCxQwmtlH7IpgZqfk,9634
390
390
  ansible/playbook/role/include.py,sha256=ITWmnZq_7xW54pgQznJcKq423DQnPyXh87yLtecykSo,2409
391
391
  ansible/playbook/role/metadata.py,sha256=DDFH7-r4IZ3KLYMs3wIfwb3bRLUlyeoyA7bviDsh7es,5141
@@ -427,7 +427,7 @@ ansible/plugins/become/__init__.py,sha256=-fAe45Gs1ZAaiDQeyKBB8WsaIOxJtKVVcdq3mS
427
427
  ansible/plugins/become/runas.py,sha256=O-Hl6cE5qMxWZnT0Uo3g-8NKpNKJKL4MdMXf0JxOFEg,2617
428
428
  ansible/plugins/become/su.py,sha256=w0tOGwW-Z2lqon18n5DcVLIqNJIul5sINtwnJoygDaU,5362
429
429
  ansible/plugins/become/sudo.py,sha256=ZZnnT4J84hRZ9WNfmV9bX8RlJzNMf1hHW3tbF-ls6uw,4035
430
- ansible/plugins/cache/__init__.py,sha256=ZHx96j5mo6hdZehaK8K9ShunTm5lM1FBKDgNeyRDGt0,12226
430
+ ansible/plugins/cache/__init__.py,sha256=vvn1uHr09IXqe12IsNZvgzMM2D5-UmFkFXHs7xMVlDo,12274
431
431
  ansible/plugins/cache/base.py,sha256=eGsvbtBYhCPlAsTFu2IFQHmZtMbXYwbhSMfGttexkzo,960
432
432
  ansible/plugins/cache/jsonfile.py,sha256=r3V3ipncC5UYCSOuPbTs45e3PfMh7dg86ct02MAe9po,1985
433
433
  ansible/plugins/cache/memory.py,sha256=AdCQG2qM-3cWiFwe8QBiGGT_h6cGTqOonYigxAp1E44,1271
@@ -443,7 +443,7 @@ ansible/plugins/connection/local.py,sha256=W2HFk14nKVaMZUE7YeX2bJLL0dvsVqYRf3qtC
443
443
  ansible/plugins/connection/paramiko_ssh.py,sha256=YAxz8xFBMWTZzvoqmiuwlyp7a4MHvoBmVgjizvIkmtI,29594
444
444
  ansible/plugins/connection/psrp.py,sha256=DXeW4gUTfcbR4X-p-4KKZ8_-MU7dsHHH1C0_MjBtxJY,36046
445
445
  ansible/plugins/connection/ssh.py,sha256=fORZ8o8tLWkQxUuc5Vqi8hQsJgZH57VaGIesuyS4dvw,62678
446
- ansible/plugins/connection/winrm.py,sha256=7IHW7FFCxR6wC6zpUGWlw97aiOAmvmTyot37s-yfDH8,38979
446
+ ansible/plugins/connection/winrm.py,sha256=YS6qbhP8-2jqWa7pdKrAXJctdLTHPVqGFu_Nl_kUYGw,39730
447
447
  ansible/plugins/doc_fragments/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
448
448
  ansible/plugins/doc_fragments/action_common_attributes.py,sha256=ouV8CMIP0TkfkxN4p_pLbPvRSC5wu6w0Y6ScONOg-c4,2449
449
449
  ansible/plugins/doc_fragments/action_core.py,sha256=f4UV5QBnmtiecabxbXbTlxZtcPGQH2PNN9gNGVnYPh4,2908
@@ -582,9 +582,9 @@ ansible/plugins/shell/powershell.py,sha256=qnpEZ9uOJF_4gExheFCAYT_tSR_KQtQeilU1W
582
582
  ansible/plugins/shell/sh.py,sha256=1nhiMv0_c8zu2MaDHvOCr--dG8b-iUVEPPnpMh_Hx8I,3952
583
583
  ansible/plugins/strategy/__init__.py,sha256=aQ_TrMW4I3X7BG4saj7TwllXDTBPskj8SQhVGwUbDis,57038
584
584
  ansible/plugins/strategy/debug.py,sha256=GxUS0bSiaWInIK8zgB7rMREEqvgrZhVlFUzOCJtnjFo,1258
585
- ansible/plugins/strategy/free.py,sha256=S1XXWBa-bGdcYRXiKhys5sEGm7MR297pL2DbIbt6bbM,15878
585
+ ansible/plugins/strategy/free.py,sha256=UHZ01UBQMwZ42_c2LVgD7nLMBtF2nPt9wKEaBb40To4,15880
586
586
  ansible/plugins/strategy/host_pinned.py,sha256=3-q5l-tpheMlU-BXGm6ZQNgHvQv5IMvOCDZBLibl1L4,1959
587
- ansible/plugins/strategy/linear.py,sha256=4gEsbL10gQGUYo9uhy3pI5fjYDfcbWdKG4EDO3RLJgE,20388
587
+ ansible/plugins/strategy/linear.py,sha256=_A0l8JoRkpX3f-VY2PsQUFEasOgL1VPKn5jzRF-tF7E,20390
588
588
  ansible/plugins/terminal/__init__.py,sha256=zGIuxlntye0FHk6Zbl57snHB5d3-w_pr0osRpCRy4co,4438
589
589
  ansible/plugins/test/__init__.py,sha256=6DY18LxzSdtO7-fDS6957bo61fg-xG3TDWvtFkhGYOQ,471
590
590
  ansible/plugins/test/abs.yml,sha256=-caY4vAMXbhukUTdMQvBa2WYvg6w1AWr8raEfAv0qa8,764
@@ -682,7 +682,7 @@ ansible/vars/hostvars.py,sha256=dg3jpVmNwSg8EJ4SIvYGT80uxMgRtrOW6vvtDfrQzDU,5152
682
682
  ansible/vars/manager.py,sha256=7krY5GH2T06FYCoCIigzo85kY7gIAm1aha-6fSPYXYA,38813
683
683
  ansible/vars/plugins.py,sha256=B7L3fXoSOoBZSXqJ2ulk0adx1g5SpAb8BxyLGPNA7d4,4695
684
684
  ansible/vars/reserved.py,sha256=FBD7n2dnA0CW4I0J1LtWwk2hQqvGW0KTRPcxaRtMKWo,2615
685
- ansible_core-2.15.10.data/scripts/ansible-test,sha256=CYIYL99IxWdVTtDIj3avilIJXhGAmtjuKPPWNuLWuc8,1690
685
+ ansible_core-2.15.11rc1.data/scripts/ansible-test,sha256=CYIYL99IxWdVTtDIj3avilIJXhGAmtjuKPPWNuLWuc8,1690
686
686
  ansible_test/__init__.py,sha256=6e721yAyyyocRKzbCKtQXloAfFP7Aqv0L3zG70uh-4A,190
687
687
  ansible_test/_data/ansible.cfg,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
688
688
  ansible_test/_data/coveragerc,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -861,7 +861,7 @@ ansible_test/_internal/commands/integration/cloud/scaleway.py,sha256=ZoScZMW5xP-
861
861
  ansible_test/_internal/commands/integration/cloud/vcenter.py,sha256=a1GALccb_wh1RWdQaGqhFpWQTINL7MxJNlUShyOVXQ0,5325
862
862
  ansible_test/_internal/commands/integration/cloud/vultr.py,sha256=TE43tKiAerXbKD9FXBrBVzeWNUB87qtR5twg_zDicHM,1488
863
863
  ansible_test/_internal/commands/sanity/__init__.py,sha256=hP7MNOXoxclVsESt8JfLz85beEpx5W08dtgv5QDAJ_o,50352
864
- ansible_test/_internal/commands/sanity/ansible_doc.py,sha256=EY2PbiIAXkJRTS-WbTIirLDGaCwWZRJSnUIpViylHJA,5734
864
+ ansible_test/_internal/commands/sanity/ansible_doc.py,sha256=kKgXCyLeRO5iCeneknpkECZnf2NxGoEbb5p--DzfCfk,5776
865
865
  ansible_test/_internal/commands/sanity/bin_symlinks.py,sha256=uDiaMM3lf9KLlGTlGT53zYjgj6Fo-G-_dhJgFWnLS-o,3072
866
866
  ansible_test/_internal/commands/sanity/compile.py,sha256=ZQwHB85a7N6utr038kLbDZwFlXGEJMkSI63YyoGcd-I,2539
867
867
  ansible_test/_internal/commands/sanity/ignores.py,sha256=9wpzc8eRKS4nAVWOeSgXju5j1tDXNFPMSlskrR-Pohs,2789
@@ -1001,9 +1001,9 @@ ansible_test/config/cloud-config-vultr.ini.template,sha256=XLKHk3lg_8ReQMdWfZzhh
1001
1001
  ansible_test/config/config.yml,sha256=wb3knoBmZewG3GWOMnRHoVPQWW4vPixKLPMNS6vJmTc,2620
1002
1002
  ansible_test/config/inventory.networking.template,sha256=bFNSk8zNQOaZ_twaflrY0XZ9mLwUbRLuNT0BdIFwvn4,1335
1003
1003
  ansible_test/config/inventory.winrm.template,sha256=1QU8W-GFLnYEw8yY9bVIvUAVvJYPM3hyoijf6-M7T00,1098
1004
- ansible_core-2.15.10.dist-info/COPYING,sha256=CuBIWlvTemPmNgNZZBfk6w5lMzT6bH-TLKOg6F1K8ic,35148
1005
- ansible_core-2.15.10.dist-info/METADATA,sha256=6Gk2Q17HpD33SGkawMfh79aJsA_O_54i7nuhBfgMtow,6976
1006
- ansible_core-2.15.10.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
1007
- ansible_core-2.15.10.dist-info/entry_points.txt,sha256=0mpmsrIhODChxKl3eS-NcVQCaMetBn8KdPLtVxQgR64,453
1008
- ansible_core-2.15.10.dist-info/top_level.txt,sha256=IFbRLjAvih1DYzJWg3_F6t4sCzEMxRO7TOMNs6GkYHo,21
1009
- ansible_core-2.15.10.dist-info/RECORD,,
1004
+ ansible_core-2.15.11rc1.dist-info/COPYING,sha256=CuBIWlvTemPmNgNZZBfk6w5lMzT6bH-TLKOg6F1K8ic,35148
1005
+ ansible_core-2.15.11rc1.dist-info/METADATA,sha256=kJ4w53bXd-s_kvmTEhRKadgZiC-O1tqXmFvC16ATkGk,6979
1006
+ ansible_core-2.15.11rc1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
1007
+ ansible_core-2.15.11rc1.dist-info/entry_points.txt,sha256=0mpmsrIhODChxKl3eS-NcVQCaMetBn8KdPLtVxQgR64,453
1008
+ ansible_core-2.15.11rc1.dist-info/top_level.txt,sha256=IFbRLjAvih1DYzJWg3_F6t4sCzEMxRO7TOMNs6GkYHo,21
1009
+ ansible_core-2.15.11rc1.dist-info/RECORD,,
@@ -79,7 +79,7 @@ class AnsibleDocTest(SanitySingleVersion):
79
79
  plugin_parts = os.path.relpath(plugin_file_path, plugin_path).split(os.path.sep)
80
80
  plugin_name = os.path.splitext(plugin_parts[-1])[0]
81
81
 
82
- if plugin_name.startswith('_'):
82
+ if plugin_name.startswith('_') and not data_context().content.collection:
83
83
  plugin_name = plugin_name[1:]
84
84
 
85
85
  plugin_fqcn = data_context().content.prefix + '.'.join(plugin_parts[:-1] + [plugin_name])