summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSloane Hertel <19572925+s-hertel@users.noreply.github.com>2024-09-23 16:04:45 +0200
committerGitHub <noreply@github.com>2024-09-23 16:04:45 +0200
commitbf8da52aace99515b89952939aab8ef1abd091ef (patch)
tree0f332477adf07ad4b1a09a1366e81bba17a03963
parentdnf5: re-introduce ``state: installed`` alias (#83961) (diff)
downloadansible-bf8da52aace99515b89952939aab8ef1abd091ef.tar.xz
ansible-bf8da52aace99515b89952939aab8ef1abd091ef.zip
ansible-galaxy - fix the usage for role/collection install (#83979)
-rwxr-xr-xlib/ansible/cli/galaxy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/cli/galaxy.py b/lib/ansible/cli/galaxy.py
index 19ccd40044..17c923209d 100755
--- a/lib/ansible/cli/galaxy.py
+++ b/lib/ansible/cli/galaxy.py
@@ -482,7 +482,7 @@ class GalaxyCLI(CLI):
)
prog = 'ansible-galaxy install'
else:
- prog = parser._prog_prefix
+ prog = f"ansible-galaxy {galaxy_type} install"
description_text = (
'Install {0}(s) from file(s), URL(s) or Ansible '
'Galaxy to the first entry in the config {1}S_PATH '