# ansible-navigator ## run playbooks with execution environment 1. set up venv ``` python -m venv kvant-venv source kvant-venv/bin/activate kvant-venv/bin/python -m pip install --upgrade pip pip install -r requirements.txt ``` 2. run playbooks with custom execution environment ``` ansible-navigator run --eei kvant-ee ``` ## add dependencies 1. set up venv ``` python -m venv kvant-venv source kvant-venv/bin/activate kvant-venv/bin/python -m pip install --upgrade pip ``` 2. pip packages 3. ansible modules 4. binaries 5. build execution environment ``` cd ansible-ee TMPDIR=/srv/builder/ansible-builder podman build -f context/Containerfile -t kvant-ee context ``` ## build new execution environment 1. set up venv ``` python -m venv kvant-venv source kvant-venv/bin/activate kvant-venv/bin/python -m pip install --upgrade pip pip install -r requirements.txt ``` 2. build execution environment ``` cd ansible-ee TMPDIR=/srv/builder/ansible-builder podman build -f context/Containerfile -t kvant-ee context ``` 3. run playbooks with custom execution environment ``` ansible-navigator run --eei kvant-ee ```