Concepts¶
Liftway has a small vocabulary. Each term below is a page in the console and a resource in the API. Learn these and the rest of the documentation reads easily.
Project (Git) ──┐
Inventory ──────┤
Credentials ────┼──► Job template ──► Workflow ──► Run ──► steps, output, result
Execution env. ─┘ │ ▲
└──────── launched directly ┘
The building blocks¶
Project¶
A Git repository that holds your automation: playbooks, roles, static inventory files or Terraform code. Liftway syncs a project to pin a commit and discover playbooks and inventory files. Nothing runs during a sync. Projects
Inventory¶
The hosts Ansible may manage, organised into groups with variables. Write it in the console (hosts, groups, variables), point it at a static YAML or INI file in a synced project, or let a workflow build it from Terraform outputs. Inventories and hosts
Credential¶
A named secret — an SSH key, a cloud token, a Git deploy token. You type the value once; Liftway writes it to Vault and keeps only a reference. Values are never shown again. A credential type defines a credential's fields and where each value is injected: an extra variable, an environment variable or an SSH key. Credentials
Execution environment¶
Where a step runs and with which tools: a Kubernetes runner image, the controller itself (local, development only) or a host reached over SSH. Execution environments
Job template¶
Saved settings for one repeatable task. There are three execution types:
| Type | What it runs | Needs |
|---|---|---|
| Ansible | A playbook from a project | Project, playbook, inventory |
| Bash | A script inside the runner | Script |
| Terraform | validate, or plan → review → apply |
Project with Terraform code, Kubernetes |
Workflow¶
Steps connected by dependencies, drawn on a canvas. A step can be a job template, a project or inventory sync, an approval, or a Build inventory step that turns Terraform outputs into an Ansible inventory. Each dependency has a condition: on success, on failure or always. Workflows
Run (job)¶
One execution of a template or a workflow. A run takes a snapshot at launch — template settings, Git commit, inventory content and credential references — so later edits never change a run that already started. The console lists runs under Jobs. Runs, output and approvals
Directory objects¶
Organisations, Teams and Users describe who belongs where. Resources can be assigned to an organisation for orientation. Membership alone does not grant or restrict access — that is the job of roles and permissions.
Things that are easy to confuse¶
| Not this… | …but this |
|---|---|
An inventory group (web) selects servers for a playbook |
A team groups people; it never selects servers |
| An execution environment decides where a step's process runs | An inventory decides which servers that process connects to |
| The Kubernetes namespace Liftway is installed in | Has nothing to do with which hosts a playbook targets |
| Limit narrows the hosts a run touches | It never adds hosts outside the inventory and the play's hosts: |
| Extra variables are visible job data | Credentials are for secrets |
| Cancel stops further work | It never undoes changes already made on targets |
Statuses¶
Every step, and every run, has one status at a time.
| Status | Meaning |
|---|---|
pending |
Recorded, waiting for its dependencies or a free runner slot |
starting |
Liftway is creating the runner |
running |
The runner is executing |
waiting |
An approval step, or a Terraform plan, is waiting for a decision |
successful |
Finished without error |
failed |
A task failed, the script exited non-zero, a plan was rejected or an approval expired |
skipped |
The step's condition was not met, so it never started |
canceling |
Cancellation was requested; Liftway is stopping work |
canceled |
Cancellation finished |
A run is failed if any step failed — even when a failure handler afterwards succeeded. Otherwise it is successful once every step is finished.
Snapshots and reproducibility¶
At launch Liftway freezes everything a step needs:
- the template's settings, survey answers and launch overrides;
- the project's synced commit SHA (never "whatever is on the branch now");
- the inventory content (for Git inventories, the content imported by the last successful sync);
- references to credentials — Vault paths, never values;
- the execution environment (image, pull policy, SSH host).
For workflows that contain sync steps, job steps are resolved after their dependencies finish, so a Sync Inventory → Deploy pair deploys to the freshly synced hosts. See Workflows.