ansible-core 2.16.11rc1__py3-none-any.whl → 2.16.12rc1__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/cli/galaxy.py +27 -4
- ansible/module_utils/ansible_release.py +1 -1
- ansible/modules/dnf5.py +2 -2
- ansible/release.py +1 -1
- {ansible_core-2.16.11rc1.dist-info → ansible_core-2.16.12rc1.dist-info}/METADATA +1 -1
- {ansible_core-2.16.11rc1.dist-info → ansible_core-2.16.12rc1.dist-info}/RECORD +11 -11
- {ansible_core-2.16.11rc1.dist-info → ansible_core-2.16.12rc1.dist-info}/WHEEL +1 -1
- {ansible_core-2.16.11rc1.data → ansible_core-2.16.12rc1.data}/scripts/ansible-test +0 -0
- {ansible_core-2.16.11rc1.dist-info → ansible_core-2.16.12rc1.dist-info}/COPYING +0 -0
- {ansible_core-2.16.11rc1.dist-info → ansible_core-2.16.12rc1.dist-info}/entry_points.txt +0 -0
- {ansible_core-2.16.11rc1.dist-info → ansible_core-2.16.12rc1.dist-info}/top_level.txt +0 -0
ansible/cli/galaxy.py
CHANGED
|
@@ -489,12 +489,31 @@ class GalaxyCLI(CLI):
|
|
|
489
489
|
ignore_errors_help = 'Ignore errors during installation and continue with the next specified ' \
|
|
490
490
|
'collection. This will not ignore dependency conflict errors.'
|
|
491
491
|
else:
|
|
492
|
-
args_kwargs['help'] = 'Role name, URL or tar file'
|
|
492
|
+
args_kwargs['help'] = 'Role name, URL or tar file. This is mutually exclusive with -r.'
|
|
493
493
|
ignore_errors_help = 'Ignore errors and continue with the next specified role.'
|
|
494
494
|
|
|
495
|
+
if self._implicit_role:
|
|
496
|
+
# might install both roles and collections
|
|
497
|
+
description_text = (
|
|
498
|
+
'Install roles and collections from file(s), URL(s) or Ansible '
|
|
499
|
+
'Galaxy to the first entry in the config COLLECTIONS_PATH for collections '
|
|
500
|
+
'and first entry in the config ROLES_PATH for roles. '
|
|
501
|
+
'The first entry in the config ROLES_PATH can be overridden by --roles-path '
|
|
502
|
+
'or -p, but this will result in only roles being installed.'
|
|
503
|
+
)
|
|
504
|
+
prog = 'ansible-galaxy install'
|
|
505
|
+
else:
|
|
506
|
+
prog = f"ansible-galaxy {galaxy_type} install"
|
|
507
|
+
description_text = (
|
|
508
|
+
'Install {0}(s) from file(s), URL(s) or Ansible '
|
|
509
|
+
'Galaxy to the first entry in the config {1}S_PATH '
|
|
510
|
+
'unless overridden by --{0}s-path.'.format(galaxy_type, galaxy_type.upper())
|
|
511
|
+
)
|
|
495
512
|
install_parser = parser.add_parser('install', parents=parents,
|
|
496
513
|
help='Install {0}(s) from file(s), URL(s) or Ansible '
|
|
497
|
-
'Galaxy'.format(galaxy_type)
|
|
514
|
+
'Galaxy'.format(galaxy_type),
|
|
515
|
+
description=description_text,
|
|
516
|
+
prog=prog,)
|
|
498
517
|
install_parser.set_defaults(func=self.execute_install)
|
|
499
518
|
|
|
500
519
|
install_parser.add_argument('args', metavar='{0}_name'.format(galaxy_type), nargs='*', **args_kwargs)
|
|
@@ -547,8 +566,12 @@ class GalaxyCLI(CLI):
|
|
|
547
566
|
'This does not apply to collections in remote Git repositories or URLs to remote tarballs.'
|
|
548
567
|
)
|
|
549
568
|
else:
|
|
550
|
-
|
|
551
|
-
|
|
569
|
+
if self._implicit_role:
|
|
570
|
+
install_parser.add_argument('-r', '--role-file', dest='requirements',
|
|
571
|
+
help='A file containing a list of collections and roles to be installed.')
|
|
572
|
+
else:
|
|
573
|
+
install_parser.add_argument('-r', '--role-file', dest='requirements',
|
|
574
|
+
help='A file containing a list of roles to be installed.')
|
|
552
575
|
|
|
553
576
|
r_re = re.compile(r'^(?<!-)-[a-zA-Z]*r[a-zA-Z]*') # -r, -fr
|
|
554
577
|
contains_r = bool([a for a in self._raw_args if r_re.match(a)])
|
ansible/modules/dnf5.py
CHANGED
|
@@ -632,7 +632,7 @@ class Dnf5Module(YumDnf):
|
|
|
632
632
|
results = []
|
|
633
633
|
if self.names == ["*"] and self.state == "latest":
|
|
634
634
|
goal.add_rpm_upgrade(settings)
|
|
635
|
-
elif self.state in {"
|
|
635
|
+
elif self.state in {"installed", "present", "latest"}:
|
|
636
636
|
upgrade = self.state == "latest"
|
|
637
637
|
for spec in self.names:
|
|
638
638
|
if is_newer_version_installed(base, spec):
|
|
@@ -665,7 +665,7 @@ class Dnf5Module(YumDnf):
|
|
|
665
665
|
if transaction.get_problems():
|
|
666
666
|
failures = []
|
|
667
667
|
for log_event in transaction.get_resolve_logs():
|
|
668
|
-
if log_event.get_problem() == libdnf5.base.GoalProblem_NOT_FOUND and self.state in {"
|
|
668
|
+
if log_event.get_problem() == libdnf5.base.GoalProblem_NOT_FOUND and self.state in {"installed", "present", "latest"}:
|
|
669
669
|
# NOTE dnf module compat
|
|
670
670
|
failures.append("No package {} available.".format(log_event.get_spec()))
|
|
671
671
|
else:
|
ansible/release.py
CHANGED
|
@@ -3,14 +3,14 @@ ansible/__main__.py,sha256=IvyRvY64pT0on94qCLibxgDJ0-7_2CRoaZ5kfGOl54Q,1395
|
|
|
3
3
|
ansible/constants.py,sha256=FvX7PDG0GWV91Vszb5-DFKvkR8O2OTpBmIbQk-d51sc,9193
|
|
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=
|
|
6
|
+
ansible/release.py,sha256=qwVbPvB1caTP4GaHBoJp6_F1csMu8k414P_sXWOBTok,919
|
|
7
7
|
ansible/_vendor/__init__.py,sha256=wJRKH7kI9OzYVY9hgSchOsTNTmTnugpPLGYj9Y5akX0,2086
|
|
8
8
|
ansible/cli/__init__.py,sha256=6jaX6SS-UBM7pjiUlDsC0y07k3klUjxTR5ZEnDiCmP8,28706
|
|
9
9
|
ansible/cli/adhoc.py,sha256=suzo4QnsaMjJBk5JlAUd-cpQLs8Ckj6A55CiG9Y8Gns,8247
|
|
10
10
|
ansible/cli/config.py,sha256=PZw8ghGsNgj3fpCWbmQst3AoxkUKU_GR64gdqMJCLmo,22716
|
|
11
11
|
ansible/cli/console.py,sha256=Y3KVFNSEwHLeTJ2aBXv-sDAlg8PY9A-LnqyvrJuLPpI,22040
|
|
12
12
|
ansible/cli/doc.py,sha256=t4KfhTv96R0bVLGm7FZE6cyiTSYxNfGqjh9aKLP4XQY,64080
|
|
13
|
-
ansible/cli/galaxy.py,sha256=
|
|
13
|
+
ansible/cli/galaxy.py,sha256=v8kEPGAaNJP-dmzCrjgtDA1ygvraNMLKpgm7R7c2160,96488
|
|
14
14
|
ansible/cli/inventory.py,sha256=B1RQAPHnqA6xApxo7EvXoF6H8WkxZxxeqSOZtsNm-y0,16861
|
|
15
15
|
ansible/cli/playbook.py,sha256=1CmwCE3K1eH_UFebIp0M59r4LPDJ5KMzCLxxM41lst0,10918
|
|
16
16
|
ansible/cli/pull.py,sha256=fqGi-kBWM_B7jdKgA3XcO67znUK1rvhT9t9JjUialjQ,17336
|
|
@@ -140,7 +140,7 @@ ansible/inventory/host.py,sha256=7RZjLiB7M74bejFRflOTa8XPHxMC334qhSo_5VmZrKI,512
|
|
|
140
140
|
ansible/inventory/manager.py,sha256=ZwmEF3E2BKOJi9SMVQNz83A2f3raQn6Nyo-rfSNMn2k,29507
|
|
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=
|
|
143
|
+
ansible/module_utils/ansible_release.py,sha256=qwVbPvB1caTP4GaHBoJp6_F1csMu8k414P_sXWOBTok,919
|
|
144
144
|
ansible/module_utils/api.py,sha256=BTo7stVOANbtd-ngZslaqx70r9t5gfvo44cKyu5SFjU,5837
|
|
145
145
|
ansible/module_utils/basic.py,sha256=i_lL7YrkhtBewM21t4uIfAgqrGqStyCWwjYiUyqRBi0,87706
|
|
146
146
|
ansible/module_utils/connection.py,sha256=9Us-d-y1bhC3zNnziQxvYNT4umIaN0OYv8zPaUSdEf0,8447
|
|
@@ -292,7 +292,7 @@ ansible/modules/deb822_repository.py,sha256=rZzJzyl7TfVKrcICzYOBJISTrqRYGq8AoWNL
|
|
|
292
292
|
ansible/modules/debconf.py,sha256=dqW8NQtQom64KUjre6liHNzT5oqyuEumyRQpyEfD9RE,8452
|
|
293
293
|
ansible/modules/debug.py,sha256=eAQPIQ_LKHy718uD175T22nTrv7_8OlHjwO0ekKBQMU,2958
|
|
294
294
|
ansible/modules/dnf.py,sha256=Uj-n0qPhdeUlb8t2Eg-WpZfKDFlgDE9iGXfx_4hj4BQ,56178
|
|
295
|
-
ansible/modules/dnf5.py,sha256=
|
|
295
|
+
ansible/modules/dnf5.py,sha256=O4dydgV-__cdr1z7m2iYQUAj9Ti3Tirc7h0EL0GgXls,26859
|
|
296
296
|
ansible/modules/dpkg_selections.py,sha256=NBiePEQRamuOO5ncxt6mBbvlWihhMFwMmqiql7zZU34,2833
|
|
297
297
|
ansible/modules/expect.py,sha256=C7t85H_TV9Y10wLVx0ok6qvYk4Lb6n6xT2qu3DSMBKE,9067
|
|
298
298
|
ansible/modules/fail.py,sha256=AI4gNQC7E5U2Vs7QiIlFk7PcWozN0tXtiVPa_LJrQpk,1710
|
|
@@ -682,7 +682,7 @@ ansible/vars/hostvars.py,sha256=xd9TRpqvqMoZxrzQpbBHV_EAii_CdzSBzCg5Y5kpJr8,5202
|
|
|
682
682
|
ansible/vars/manager.py,sha256=lIfISTPyRcNfJVWJhhNof36Zmk6xSMUkf9sFxrzCzcI,38180
|
|
683
683
|
ansible/vars/plugins.py,sha256=RsRU9fiLcJwPIAyTYnmVZglsiEOMCIgQskflavE-XnE,4546
|
|
684
684
|
ansible/vars/reserved.py,sha256=FBD7n2dnA0CW4I0J1LtWwk2hQqvGW0KTRPcxaRtMKWo,2615
|
|
685
|
-
ansible_core-2.16.
|
|
685
|
+
ansible_core-2.16.12rc1.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
|
|
@@ -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.16.
|
|
1005
|
-
ansible_core-2.16.
|
|
1006
|
-
ansible_core-2.16.
|
|
1007
|
-
ansible_core-2.16.
|
|
1008
|
-
ansible_core-2.16.
|
|
1009
|
-
ansible_core-2.16.
|
|
1004
|
+
ansible_core-2.16.12rc1.dist-info/COPYING,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
1005
|
+
ansible_core-2.16.12rc1.dist-info/METADATA,sha256=4P7KMrDFBOA2fUGBbTr4H02O-lYo8C7f9QCG15AK6Sk,6909
|
|
1006
|
+
ansible_core-2.16.12rc1.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
|
1007
|
+
ansible_core-2.16.12rc1.dist-info/entry_points.txt,sha256=0mpmsrIhODChxKl3eS-NcVQCaMetBn8KdPLtVxQgR64,453
|
|
1008
|
+
ansible_core-2.16.12rc1.dist-info/top_level.txt,sha256=IFbRLjAvih1DYzJWg3_F6t4sCzEMxRO7TOMNs6GkYHo,21
|
|
1009
|
+
ansible_core-2.16.12rc1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|