From 95531d24eaa697605b8a11d842a7833f173f99fc Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Thu, 30 Jul 2020 08:35:12 +0200 Subject: [PATCH] nmcli: fix package name (#712) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Type: Wrong package names In Red Hat systems, python packages are preceeded by `python3-` * Use Python 2 packages on CentOS 7 and Fedora <= 28. Co-authored-by: Frank Brütting --- plugins/modules/net_tools/nmcli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/modules/net_tools/nmcli.py b/plugins/modules/net_tools/nmcli.py index 1cb4a8b5e4..f00befaed5 100644 --- a/plugins/modules/net_tools/nmcli.py +++ b/plugins/modules/net_tools/nmcli.py @@ -21,9 +21,9 @@ requirements: description: - Manage the network devices. Create, modify and manage various connection and device type e.g., ethernet, teams, bonds, vlans etc. - 'On CentOS 8 and Fedora >=29 like systems, the requirements can be met by installing the following packages: NetworkManager-libnm, - libsemanage-python, policycoreutils-python.' + python3-libsemanage, python3-policycoreutils.' - 'On CentOS 7 and Fedora <=28 like systems, the requirements can be met by installing the following packages: NetworkManager-glib, - libnm-qt-devel.x86_64, nm-connection-editor.x86_64, libsemanage-python, policycoreutils-python.' + libnm-qt-devel.x86_64, nm-connection-editor.x86_64, python-libsemanage, python-policycoreutils.' - 'On Ubuntu and Debian like systems, the requirements can be met by installing the following packages: network-manager, python-dbus (or python3-dbus, depending on the Python version in use), libnm-dev.' - 'On older Ubuntu and Debian like systems, the requirements can be met by installing the following packages: network-manager,