willhallonline/Docker Ansible
Run Ansible playbooks in CI using the willhallonline/docker-ansible container images
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| playbook | Path to the Ansible playbook to run, relative to working-directory. | yes | — |
| inventory | Path to the inventory file or directory, relative to working-directory. | no | "" |
| working-directory | Directory (relative to the workspace root) to run ansible-playbook from. | no | . |
| requirements | Path (relative to working-directory) to a requirements.yml file (roles and/or collections) installed via `ansible-galaxy install` before the playbook runs. | no | "" |
| galaxy-options | Additional arguments appended to the `ansible-galaxy install` command. | no | "" |
| vault-password | Ansible Vault password (plaintext). Written to a temporary file on the runner and passed as --vault-password-file. Pass this via a GitHub secret. | no | "" |
| vault-password-file | Path (relative to working-directory) to an existing vault password file. Ignored if vault-password is set. | no | "" |
| private-key | SSH private key (PEM contents) used to connect to managed hosts. Written to a temporary file with 600 permissions on the runner. Pass this via a GitHub secret. | no | "" |
| host-key-checking | Whether to enforce SSH host key checking ("true"/"false"). | no | true |
| known-hosts | Additional known_hosts entries to trust before connecting. | no | "" |
| extra-vars | Value passed to `--extra-vars` (supports @file.yml, key=value pairs, or a JSON string). | no | "" |
| options | Additional raw, space-separated arguments appended to the ansible-playbook command (e.g. "-vvv --check --limit staging"). | no | "" |
| image-tag | Tag of the willhallonline/ansible Docker image to use. See https://hub.docker.com/r/willhallonline/ansible/tags for available tags. | no | latest |
Outputs
| name | description |
|---|---|
| exit-code | Exit code returned by ansible-playbook. |