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-07-21 20:07:06 +01:00
|
|
|
version = "2.8.13";
|
2019-11-06 15:42:55 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://releases.ansible.com/ansible/${pname}-${version}.tar.gz";
|
2020-07-21 20:07:06 +01:00
|
|
|
sha256 = "09a0wa5l2vyy8n2hwvq9ikc77a9xm9k19rnkvcnnkbqwv1fl36zb";
|
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
|
|
|
}
|