Matrix Docker Ansible eploy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

31 lines
575 B

  1. {
  2. inputs = {
  3. nixpkgs.url = "github:NixOS/nixpkgs";
  4. flake-utils.url = "github:numtide/flake-utils";
  5. };
  6. outputs = {
  7. self,
  8. nixpkgs,
  9. flake-utils,
  10. }:
  11. flake-utils.lib.eachDefaultSystem
  12. (
  13. system: let
  14. pkgs = import nixpkgs {
  15. inherit system;
  16. };
  17. in
  18. with pkgs; {
  19. devShells.default = mkShell {
  20. buildInputs = [
  21. just
  22. ansible
  23. ];
  24. shellHook = ''
  25. echo "$(ansible --version)"
  26. '';
  27. };
  28. }
  29. );
  30. }