@@ -6,12 +6,12 @@
66, jinja2
77, pyyaml
88, httplib2
9−, boto
109, six
1110, netaddr
1211, dnspython
1312, jmespath
1413, dopy
14+, ncclient
1515, windowsSupport ? false
1616, pywinrm
1717}:
@@ -28,7 +28,9 @@ buildPythonPackage rec {
2828 };
2929
3030 prePatch = ''
31− sed -i "s,/usr/,$out," lib/ansible/constants.py
31+ # ansible-connection is wrapped, so make sure it's not passed
32+ # through the python interpreter.
33+ sed -i "s/\[python, /[/" lib/ansible/executor/task_executor.py
3234 '';
3335
3436 postInstall = ''
@@ -39,7 +41,7 @@ buildPythonPackage rec {
3941
4042 propagatedBuildInputs = [
4143 pycrypto paramiko jinja2 pyyaml httplib2
42− six netaddr dnspython jmespath dopy
44+ six netaddr dnspython jmespath dopy ncclient
4345 ] ++ lib.optional windowsSupport pywinrm;
4446
4547 # dificult to test