Einfacherer Weg, Ansible plus Abhängigkeiten zu installieren
This commit is contained in:
parent
bffd8b1db9
commit
8374c1259f
4 changed files with 27 additions and 5 deletions
16
default.nix
Normal file
16
default.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
with import <nixpkgs> {};
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ffhh-ansible-config";
|
||||
|
||||
buildInputs = [
|
||||
python27
|
||||
python27Packages.virtualenv
|
||||
];
|
||||
|
||||
shellHook = ''
|
||||
virtualenv ENV
|
||||
source ENV/bin/activate
|
||||
pip install -r requirements.txt
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue