diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2019-11-06 07:42:55 -0800 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2020-01-22 01:12:28 -0800 |
commit | 99eb9231d4d97c561cca7a5ca7617531eac6c92d (patch) | |
tree | f42f2dc07381ef7a04227833aa9b11c87b1cad34 /pkgs/tools/admin | |
parent | 5bd4028bdcfadd480a667b352c8273be9a86ba05 (diff) | |
download | nixpkgs-99eb9231d4d97c561cca7a5ca7617531eac6c92d.tar nixpkgs-99eb9231d4d97c561cca7a5ca7617531eac6c92d.tar.gz nixpkgs-99eb9231d4d97c561cca7a5ca7617531eac6c92d.tar.bz2 nixpkgs-99eb9231d4d97c561cca7a5ca7617531eac6c92d.tar.lz nixpkgs-99eb9231d4d97c561cca7a5ca7617531eac6c92d.tar.xz nixpkgs-99eb9231d4d97c561cca7a5ca7617531eac6c92d.tar.zst nixpkgs-99eb9231d4d97c561cca7a5ca7617531eac6c92d.zip |
ansible_2_9: init at 2.9.2
Diffstat (limited to 'pkgs/tools/admin')
-rw-r--r-- | pkgs/tools/admin/ansible/default.nix | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/pkgs/tools/admin/ansible/default.nix b/pkgs/tools/admin/ansible/default.nix index 5b724fb0bf9..197543945c2 100644 --- a/pkgs/tools/admin/ansible/default.nix +++ b/pkgs/tools/admin/ansible/default.nix @@ -1,9 +1,19 @@ { python3Packages, fetchurl }: -{ - ansible = with python3Packages; toPythonApplication ansible; +rec { + ansible = ansible_2_8; - ansible_2_8 = with python3Packages; toPythonApplication ansible; + ansible_2_9 = python3Packages.toPythonApplication python3Packages.ansible; + + ansible_2_8 = with python3Packages; toPythonApplication (python3Packages.ansible.overrideAttrs(old: rec { + pname = "ansible"; + version = "2.8.6"; + + src = fetchurl { + url = "https://releases.ansible.com/ansible/${pname}-${version}.tar.gz"; + sha256 = "0mg3pj9bs9xg3sks2mbdyba9x191d88vavkbr3l264fnr4kkn81i"; + }; + })); ansible_2_7 = with python3Packages; toPythonApplication (ansible.overridePythonAttrs(old: rec { pname = "ansible"; |