nixpkgs/pkgs/tools/admin/ansible/default.nix

25 lines
796 B
Nix
Raw Normal View History

{ python3Packages, fetchFromGitHub }:
2019-11-06 16:42:55 +01:00
rec {
ansible = ansible_2_12;
2021-05-17 23:03:13 +02:00
ansible_2_12 = python3Packages.toPythonApplication python3Packages.ansible-core;
ansible_2_11 = python3Packages.toPythonApplication (python3Packages.ansible-core.overridePythonAttrs (old: rec {
pname = "ansible-core";
version = "2.11.6";
src = python3Packages.fetchPypi {
inherit pname version;
sha256 = "sha256-k9UCg8fFtHbev4PcCJs/Z5uTmouae11ijSjar7s9MDo=";
};
}));
2020-08-17 13:35:58 +02:00
2021-05-12 04:39:05 +02:00
ansible_2_10 = python3Packages.toPythonApplication python3Packages.ansible-base;
2021-05-12 04:48:07 +02:00
# End of support 2021/10/02, End of life 2021/12/31
2019-11-06 16:42:55 +01:00
ansible_2_9 = python3Packages.toPythonApplication python3Packages.ansible;
ansible_2_8 = throw "Ansible 2.8 went end of life on 2021/01/03 and has subsequently been dropped";
}