ansible-runner component
Usage Example
include:
- component: $CI_SERVER_FQDN/xrow-public/ci-tools/common@stable
- component: $CI_SERVER_FQDN/xrow-public/ci-tools/ansible-runner@stable
inputs:
environment-host: <value>
inventory: <value>
limit: <value>
playbook: <value>
Inputs
| Name | Description | Default | Type |
| --- | --- | --- | --- |
| environment | Environment name | production | string |
| environment-host | Environment host name | string | |
| image | Ansible EE image to use | ${CI_TOOLS_REPO}/ansible-ee:${CI_TOOLS_COMPONENT_VERSION} | string |
| inventory | Path to the Ansible inventory file. | string | |
| limit | Ansible host pattern used to limit the playbook run. | string | |
| name | Name of the task | playbook | string |
| needs | The jobs that this job depends on. | [] | array |
| path | . | string | |
| playbook | Path to the Ansible playbook to run. | string | |
| rules | The rules that this job depends on. | [{"when":"manual"}] | array |
| stage | The pipeline stage that the job will belong to. | deploy | string |
| timeout | 2h | string |