From 787aa522cf2b030f8f30ff326bb6b71886acab48 Mon Sep 17 00:00:00 2001 From: Marco Bellaccini <24960638+marcobellaccini@users.noreply.github.com> Date: Mon, 21 Jan 2019 18:20:55 +0100 Subject: [PATCH] Modified description in nmcli module doc (#50661) * Modified description in nmcli module doc The instructions for installing module's dependencies were incomplete. I copied the CentOS/Fedora part from the examples section, while I figured out myself the Debian/Ubuntu package names. +label: docsite_pr * Fix modified description in nmcli module doc * Fix modified description in nmcli module doc again * Fix modified description in nmcli module doc LB --- lib/ansible/modules/net_tools/nmcli.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/net_tools/nmcli.py b/lib/ansible/modules/net_tools/nmcli.py index a599233520f..6a6dfed7bc8 100644 --- a/lib/ansible/modules/net_tools/nmcli.py +++ b/lib/ansible/modules/net_tools/nmcli.py @@ -24,8 +24,10 @@ requirements: [ nmcli, dbus, NetworkManager-glib ] version_added: "2.0" description: - Manage the network devices. Create, modify and manage various connection and device type e.g., ethernet, teams, bonds, vlans etc. - - "On CentOS and Fedora like systems, install dependencies as 'yum/dnf install -y python-gobject NetworkManager-glib'" - - "On Ubuntu and Debian like systems, install dependencies as 'apt-get install -y libnm-glib-dev'" + - 'On CentOS and Fedora 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.' + - '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-glib-dev.' options: state: description: