From ca9627e70852f6b2e835660df870fe3ab405882d Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sun, 1 Sep 2019 00:00:32 +0200 Subject: Initial import --- app-admin/ansible/files/ansible-ds-gi.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 app-admin/ansible/files/ansible-ds-gi.patch (limited to 'app-admin/ansible/files/ansible-ds-gi.patch') diff --git a/app-admin/ansible/files/ansible-ds-gi.patch b/app-admin/ansible/files/ansible-ds-gi.patch new file mode 100644 index 0000000..2004e1a --- /dev/null +++ b/app-admin/ansible/files/ansible-ds-gi.patch @@ -0,0 +1,14 @@ +diff -dPNur ansible-2.4.3.0/lib/ansible/modules/net_tools/nmcli.py ansible-2.4.3.0-new/lib/ansible/modules/net_tools/nmcli.py +--- ansible-2.4.3.0/lib/ansible/modules/net_tools/nmcli.py 2018-02-01 00:09:48.000000000 +0100 ++++ ansible-2.4.3.0-new/lib/ansible/modules/net_tools/nmcli.py 2018-03-12 16:41:51.287447030 +0100 +@@ -490,6 +490,10 @@ + + HAVE_NM_CLIENT=False + try: ++ import gi ++ gi.require_version('NMClient', '1.0') ++ gi.require_version('NetworkManager', '1.0') ++ + from gi.repository import NetworkManager, NMClient + HAVE_NM_CLIENT=True + except ImportError: -- cgit v1.2.3