Improve venv

This commit is contained in:
L3D 2026-02-23 19:14:31 +01:00
parent f8ce5e3255
commit 68a9c1a60a
No known key found for this signature in database
2 changed files with 9 additions and 0 deletions

1
.gitignore vendored
View File

@ -22,6 +22,7 @@ tags
# ---> Ansible # ---> Ansible
*.retry *.retry
*.ansible/ *.ansible/
*ansible/
# ---> macOS # ---> macOS
# General # General

View File

@ -16,6 +16,14 @@ git config submodule.recurse true
Git submodule werden hier zum Beispiel verwendet und ansible rollen und collections zu integrieren. Git submodule werden hier zum Beispiel verwendet und ansible rollen und collections zu integrieren.
## Python Enviroment
```bash
python -m venv .ansible
source .ansible/bin/activate
pip install --upgrade -r requirements.txt
```
## Ansible ## Ansible
Das **inventory** des ansible findet sich in der ``hosts.ini``. Um das Setup für andere hosts anzuwenden, ist das auf jeden Fall ein Blick wert. Das **inventory** des ansible findet sich in der ``hosts.ini``. Um das Setup für andere hosts anzuwenden, ist das auf jeden Fall ein Blick wert.