Skip to content

Commit

Permalink
Merge pull request #324076 from mkg20001/up-ansible
Browse files Browse the repository at this point in the history
Upgrade ansible and ansible-core
  • Loading branch information
mkg20001 authored Aug 22, 2024
2 parents 0a4ab06 + 323a0d0 commit 2310b08
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
7 changes: 4 additions & 3 deletions pkgs/development/python-modules/ansible/core.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,12 @@

buildPythonPackage rec {
pname = "ansible-core";
version = "2.16.5";
version = "2.17.1";

src = fetchPypi {
inherit pname version;
hash = "sha256-zdKbDsPyDDVlc1Wi9qnB0M8RMdqZzJpKNAGAGwqzbW0=";
pname = "ansible_core";
inherit version;
hash = "sha256-RkSdcbvRfDzoX+N5ch2I0zP9I2N7XDeY6D+uX6ON7wA=";
};

# ansible_connection is already wrapped, so don't pass it through
Expand Down
12 changes: 10 additions & 2 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17265,12 +17265,20 @@ with pkgs;

autoadb = callPackage ../misc/autoadb { };

ansible = ansible_2_16;
ansible_2_16 = python3Packages.toPythonApplication python3Packages.ansible-core;
ansible = ansible_2_17;
ansible_2_17 = python3Packages.toPythonApplication python3Packages.ansible-core;
ansible_2_16 = python3Packages.toPythonApplication (python3Packages.ansible-core.overridePythonAttrs (oldAttrs: rec {
version = "2.16.8";
src = oldAttrs.src.override {
inherit version;
hash = "sha256-WeSqQO1azbTvm789BYkY//k/ZqFJNz2BWciilgRBC9o=";
};
}));
ansible_2_15 = python3Packages.toPythonApplication (python3Packages.ansible-core.overridePythonAttrs (oldAttrs: rec {
version = "2.15.9";
src = oldAttrs.src.override {
inherit version;
pname = "ansible-core";
hash = "sha256-JfmxtaWvPAmGvTko7QhurduGdSf7XIOv7xoDz60080U=";
};
}));
Expand Down

0 comments on commit 2310b08

Please sign in to comment.