gate-dependencies-parameter

Status: IN

The `gate_dependencies` parameter on `automation()` specifies additional Python packages to bundle into the gate zipapp alongside the modules — needed when modules import libraries not in the Ansible collection (e.g., `httpx`).

Source: repo:ftl2-servercraft/ftl2_servercraft/__init__.py

Example

async with automation(
    gate_modules="auto",
    gate_dependencies=["httpx"],  # bundled into gate zipapp
) as ftl:
    await script.provision(ftl, config, log)

JSON