Projects and repositories
A project is a complete Ansible tree: playbooks, ansible.cfg, roles, collections, inventory, group_vars, host_vars, templates, files and plugins. It is the source every job runs from.
Sources
A project is created from one of two sources:
- Manual project — files are created and edited in Piping.
- Git project — Piping fetches a branch, tag or commit from a regular Git remote over HTTPS or SSH.
Git authentication is chosen explicitly when the project is created:
| Authentication | Use |
|---|---|
| Anonymous | Public repositories that need no credential |
| HTTPS basic | Username with a stored secret as the password |
| HTTPS bearer | A stored secret sent as a bearer token |
| SSH record | An existing connection-config record with a read-only key |
Secrets stay out of the URL, the arguments and the project tree. A stored secret or SSH record must grant read access to the repository; a missing or rejected credential fails the sync with an explicit error instead of falling back to an anonymous or differently referenced fetch.
Revisions
Every save and every sync creates a new immutable revision. Revision history is never rewritten; a job either follows the project's current revision or pins one.
| Job revision policy | Behaviour |
|---|---|
| Follow current | The job uses the project's current revision at the moment the launch is prepared |
| Pin revision | The job uses the selected revision until you change it |
For a Git project the job form also shows the configured reference, the resolved commit object ID, the revision ID and the last sync time. A pinned revision that is no longer resolvable is reported before launch; it is not silently replaced with the current revision. A project without a synced revision shows that a sync is required.
Sync
Sync on the project files page fetches the configured reference and imports a new revision through an execution environment. The environment must use a pinned image digest, otherwise the request is refused.
| Result | Meaning |
|---|---|
201 | A new revision was imported |
409 | The project or base revision changed while the sync was running |
502 | The runner could not acquire the repository |
A failed sync leaves the previous revision in place. It does not create a partial revision and does not hide the failure behind the last successful fetch.
Editing files
Saving an edit creates a new revision based on the revision that was open. If that base revision changed meanwhile, the save is rejected as a conflict, so one editor cannot overwrite another's revision. Forking copies a revision into a new project when a change should not continue the original history.
Permissions
Reading a project, syncing it, editing a revision and executing native runs are separate actions. Sync additionally requires permission on the selected execution environment, and an SSH-record source requires credential delegation on that record.