diff --git a/lib/ansible/modules/net_tools/nmcli.py b/lib/ansible/modules/net_tools/nmcli.py index 595f51e4c3..0a81d05e37 100644 --- a/lib/ansible/modules/net_tools/nmcli.py +++ b/lib/ansible/modules/net_tools/nmcli.py @@ -314,15 +314,13 @@ EXAMPLES = ''' tasks: - name: install needed network manager libs - yum: - name: '{{ item }}' + package: + name: + - NetworkManager-glib + - nm-connection-editor + - libsemanage-python + - policycoreutils-python state: installed - with_items: - - NetworkManager-glib - - libnm-qt-devel.x86_64 - - nm-connection-editor.x86_64 - - libsemanage-python - - policycoreutils-python ##### Working with all cloud nodes - Teaming - name: try nmcli add team - conn_name only & ip4 gw4