Skip to content

Move ansible to python-modules and use toPythonApplication + ansible related packages #56323

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Mar 1, 2019

Conversation

costrouc
Copy link
Member

@costrouc costrouc commented Feb 24, 2019

Motivation for this change

Resolves #49764 by moving ansible command to python modules and setting default ansible to python3. This is necessary since several packages depend on ansible being a package. I would appreciate if this could be merged into the upcoming release. @MMesch this adds a new kernel ansible that may be useful for jupyterWith.

I would really appreciate any help with testing this PR as I do not use ansible regularly.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Assured whether relevant documentation is up to date
  • Fits CONTRIBUTING.md.

cc: @dasJ and others already tagged in PR

Sorry, something went wrong.

@costrouc costrouc requested a review from FRidh as a code owner February 24, 2019 22:21
@costrouc costrouc force-pushed the python-ansible-refactor branch from 341abc5 to a73fffe Compare February 24, 2019 22:22
@dotlambda
Copy link
Member

@costrouc Thank you very much for taking up this work!

cc @c0bw3b @dasJ

@dotlambda
Copy link
Member

@GrahamcOfBorg build python2.pkgs.ansible python3.pkgs.ansible python2.pkgs.ansible-lint python3.pkgs.ansible-lint python2.pkgs.ansible-kernel python3.pkgs.ansible-kernel

@costrouc costrouc force-pushed the python-ansible-refactor branch from fb5f6a5 to abb5840 Compare March 1, 2019 19:50
@costrouc
Copy link
Member Author

costrouc commented Mar 1, 2019

@GrahamcOfBorg build python2.pkgs.ansible python3.pkgs.ansible python2.pkgs.ansible-lint python3.pkgs.ansible-lint python2.pkgs.ansible-kernel python3.pkgs.ansible-kernel

@dotlambda dotlambda merged commit ee2d7e4 into NixOS:master Mar 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants