Ansible CLI support
The runner pins ansible-core >=2.22,<2.23 and calls native ansible-playbook inside the execution image. A job selects options from a fixed set instead of passing a raw command line.
Supported options
| Option | Accepted forms |
|---|---|
| Tags | --tags, -t |
| Skip tags | --skip-tags |
| Check mode | --check, -C |
| Diff | --diff, -D |
| Verbosity | -v, -vv, -vvv, -vvvv |
| Become | --become, -b |
| Become user | --become-user |
| Become method | --become-method |
Verbosity is set once, at level 0 to 4. A value stays attached to its option and is never split by a shell. An unknown, repeated or conflicting option is rejected.
Platform-owned options
These settings belong to the job, the target set and the launch. Their raw forms are rejected.
| Setting | Rejected raw forms |
|---|---|
| Inventory | -i, --inventory, --inventory-file |
| Extra vars | -e, --extra-vars |
| Limit | -l, --limit |
| Playbook path | entrypoint paths given as arguments |
Interactive options
A run has no stdin, so these are rejected as needs-input: -k, -K, -J, --ask-pass, --ask-become-pass, --ask-vault-pass, --ask-vault-password, --step.
Security-restricted options
There is no raw CLI path for --vault-id, --vault-password-file, --vault-pass-file, -u, -c, --private-key, --ssh-* and password-file aliases. Use connection records, inventory and secret references instead.
Not supported
The launch contract has no field for forks, connection timeout, module paths or start-at-task, and no list, syntax, help, version or flush-cache mode. Any other raw option is rejected.
The job Timeout field is separate from Ansible's connection timeout: it limits the run, not one connection.
Requirements files
Requirements are discovered at the working directory: requirements.yml, requirements.yaml, roles/requirements.*, collections/requirements.*. They are installed with native ansible-galaxy before the playbook runs. A failed preparation stops the launch.
Check mode and diff
Check mode is a request for simulation, not a guarantee that nothing changes. --diff may print file contents into the run log.
Example
This playbook reads one parameter and changes nothing on the host:
- name: Hello world
hosts: all
gather_facts: false
tasks:
- name: Print the greeting parameter
ansible.builtin.debug:
msg: "{{ greeting | default('Hello from Piping') }}"
Store it as site.yml in the project and select it as the job entrypoint. Piping injects the inventory, the parameter values and the target limit, so the file declares no inventory and no credentials. The runtime context lists what a run provides, and jobs and runs describes the job fields.