Skip to main content

13 docs tagged with "ansible"

View all tags

Ansible

Run Ansible in a Harness pipeline

Create Ansible Inventories

Create static and dynamic Ansible inventories in Harness IaCM, configure dynamic sources from workspace resources, and filter hosts with attribute conditions.

Create Ansible Playbooks

Register Git-backed Ansible playbooks in Harness IaCM, attach playbook variables, and install Ansible Galaxy dependencies from a requirements file.

Example Ansible Use Cases

Apply Harness IaCM Ansible integration to web fleets, database patching, multi-environment configuration, Kubernetes node bootstrap, and compliance hardening.

Get Started with Ansible

Create inventories and playbooks, then run Ansible from an IaCM pipeline using the IACMAnsiblePlugin step.

Manage Hosts and Groups

Add hosts to Ansible inventories in Harness IaCM, organize them into groups, and attach host, group, and connection variables.

Manage Playbook Dependencies

Provide Python packages and other dependencies to your Ansible playbooks using runtime installation or pre-built images.

Overview of Ansible in IaCM

Understand how Ansible fits into Harness IaCM, core concepts for newcomers, and how inventories, playbooks, and pipelines work together.

Use Variable Files with Ansible

Provide variable files to Ansible playbooks when running through Harness IaCM via repository conventions, plugin inventories, or dedicated variables repositories.