---
title: Execution and connections
description: Follow a job from launch to worker to target host.
---

When you launch a template, Glodrik records a job and queues it. A worker prepares the project content and runs Ansible inside the template's execution environment. Output and host results return to Glodrik for viewing in the job history.

## Reach your targets

- Directly reachable hosts connect using the inventory's connection settings and applicable credentials.
- A [gateway](/administration/gateways) provides a path to an SSH target in another network.
- A play running on `localhost` runs inside the execution environment. The Podman installation has networking limitations when targeting its own host.

Choose an execution environment with the collections and tools that the playbook needs. If a job is waiting, check for a required project or inventory sync, or ask your administrator to check [worker capacity and logs](/administration/operate). If it starts but cannot reach hosts, review the inventory address, machine credentials, and gateway path.
