refs #8025 README: venv doc improved

This commit is contained in:
Juan Ferrer 2024-10-02 20:33:47 +02:00
parent ba4e5fd635
commit 069d072643
1 changed files with 5 additions and 1 deletions

View File

@ -15,7 +15,6 @@ python3 -m venv venv
source venv/bin/activate source venv/bin/activate
pip install --upgrade pip ansible==10.1.0 ansible-builder==3.1.0 pip install --upgrade pip ansible==10.1.0 ansible-builder==3.1.0
pip install -r requirements.txt pip install -r requirements.txt
deactivate
``` ```
Install dependencies. Install dependencies.
@ -28,6 +27,11 @@ Before running any Ansible command, activate the Python virtual environment.
source venv/bin/activate source venv/bin/activate
``` ```
Once you're done, deactivate the virtual environment.
```
deactivate
```
## Run playbook ## Run playbook
Before merging changes into protected branches, playbooks should be tested Before merging changes into protected branches, playbooks should be tested