diff options
author | Martin Krizek <martin.krizek@gmail.com> | 2023-04-06 20:19:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-06 13:19:40 -0500 |
commit | 8f0ddcba2ccacfe644a567225bf6b3c2595b89a2 (patch) | |
tree | 53f0f109b118cf25a1ce1a80c12e583f36d0fa8e /lib | |
parent | 856e0312ff2569882599134edd97a483e7ff6200 (diff) | |
download | ansible-8f0ddcba2ccacfe644a567225bf6b3c2595b89a2.tar.gz |
dnf5: fix module/pkg names in the failed respawn msg (#80402) (#80434)
(cherry picked from commit 12ce7d2e4e27dd209ad9a3027b36ff3b4d6f0c10)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ansible/modules/dnf5.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ansible/modules/dnf5.py b/lib/ansible/modules/dnf5.py index e25c79142d..6efa2a47fd 100644 --- a/lib/ansible/modules/dnf5.py +++ b/lib/ansible/modules/dnf5.py @@ -445,8 +445,8 @@ class Dnf5Module(YumDnf): # done all we can do, something is just broken (auto-install isn't useful anymore with respawn, so it was removed) self.module.fail_json( - msg="Could not import the dnf python module using {0} ({1}). " - "Please install `python3-dnf` or `python2-dnf` package or ensure you have specified the " + msg="Could not import the libdnf5 python module using {0} ({1}). " + "Please install python3-libdnf5 package or ensure you have specified the " "correct ansible_python_interpreter. (attempted {2})".format( sys.executable, sys.version.replace("\n", ""), system_interpreters ), |