2019-02-24 21:52:48 +00:00
|
|
|
{ python3Packages, fetchurl }:
|
2018-05-10 07:09:15 +01:00
|
|
|
|
2019-11-06 15:42:55 +00:00
|
|
|
rec {
|
2020-05-18 00:29:02 +01:00
|
|
|
ansible = ansible_2_9;
|
2019-02-24 21:52:48 +00:00
|
|
|
|
2019-11-06 15:42:55 +00:00
|
|
|
ansible_2_9 = python3Packages.toPythonApplication python3Packages.ansible;
|
|
|
|
|
2020-03-22 07:09:42 +00:00
|
|
|
ansible_2_8 = python3Packages.toPythonApplication (python3Packages.ansible.overridePythonAttrs (old: rec {
|
2019-11-06 15:42:55 +00:00
|
|
|
pname = "ansible";
|
2020-05-18 00:25:58 +01:00
|
|
|
version = "2.8.12";
|
2019-11-06 15:42:55 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://releases.ansible.com/ansible/${pname}-${version}.tar.gz";
|
2020-05-18 00:25:58 +01:00
|
|
|
sha256 = "091id1da3hlnmf0hwvrhv2r0mnyna3mc6s7rwdg5kll7yfiy4k1a";
|
2019-11-06 15:42:55 +00:00
|
|
|
};
|
|
|
|
}));
|
2019-05-18 09:59:35 +01:00
|
|
|
|
2020-03-22 07:09:42 +00:00
|
|
|
ansible_2_7 = python3Packages.toPythonApplication (python3Packages.ansible.overridePythonAttrs (old: rec {
|
2019-05-18 09:59:35 +01:00
|
|
|
pname = "ansible";
|
2020-05-18 00:27:40 +01:00
|
|
|
version = "2.7.18";
|
2019-05-18 09:59:35 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://releases.ansible.com/ansible/${pname}-${version}.tar.gz";
|
2020-05-18 00:27:40 +01:00
|
|
|
sha256 = "0sgshaaqyjq3i035yi5hivmrrwrq05hxrbjrv1w3hfzmvljn41d1";
|
2019-05-18 09:59:35 +01:00
|
|
|
};
|
|
|
|
}));
|
2018-05-10 07:09:15 +01:00
|
|
|
}
|