From 646ed20652e1d3a68a0f4bb26817e4814aa0caf2 Mon Sep 17 00:00:00 2001 From: Giacomo Longo Date: Sat, 18 May 2019 10:59:35 +0200 Subject: [PATCH] ansible: 2.7.6 -> 2.8.1 --- pkgs/development/python-modules/ansible/default.nix | 4 ++-- pkgs/tools/admin/ansible/default.nix | 12 +++++++++++- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/ansible/default.nix b/pkgs/development/python-modules/ansible/default.nix index dff12fcaf92c..e6e7b4532764 100644 --- a/pkgs/development/python-modules/ansible/default.nix +++ b/pkgs/development/python-modules/ansible/default.nix @@ -18,11 +18,11 @@ buildPythonPackage rec { pname = "ansible"; - version = "2.7.9"; + version = "2.8.1"; src = fetchurl { url = "https://releases.ansible.com/ansible/${pname}-${version}.tar.gz"; - sha256 = "19vyf60zfmnv7frwm96bzqzvia69dysy9apk8bl84vr03ib9vrbf"; + sha256 = "0ia4x17ywym3r1m96ar4h0wc2xlylhbjp6x4wzwkh4p2i0x1vmg1"; }; prePatch = '' diff --git a/pkgs/tools/admin/ansible/default.nix b/pkgs/tools/admin/ansible/default.nix index 91fc2c50fcf6..85877f668e5e 100644 --- a/pkgs/tools/admin/ansible/default.nix +++ b/pkgs/tools/admin/ansible/default.nix @@ -3,7 +3,17 @@ { ansible = with python3Packages; toPythonApplication ansible; - ansible_2_7 = with python3Packages; toPythonApplication ansible; + ansible_2_8 = with python3Packages; toPythonApplication ansible; + + ansible_2_7 = with python3Packages; toPythonApplication (ansible.overridePythonAttrs(old: rec { + pname = "ansible"; + version = "2.7.10"; + + src = fetchurl { + url = "https://releases.ansible.com/ansible/${pname}-${version}.tar.gz"; + sha256 = "15721d0bxymghxnlnknq43lszlxg3ybbcp2p5v424hhw6wg2v944"; + }; + })); ansible_2_6 = with python3Packages; toPythonApplication (ansible.overridePythonAttrs(old: rec { pname = "ansible";