ワンクリックで
ansible
// Set up Ansible step group templates for running Ansible playbooks in CI, Deployment, and IACM pipelines. Use when someone wants Ansible integration, playbook execution, configuration management, or Ansible templates in Harness.
// Set up Ansible step group templates for running Ansible playbooks in CI, Deployment, and IACM pipelines. Use when someone wants Ansible integration, playbook execution, configuration management, or Ansible templates in Harness.
Set up the Central Build Farm with connectors for source code managers (GitHub, GitLab, Bitbucket), container registries (Docker Hub, AWS ECR, GCP Artifact Registry, Azure ACR), and artifact managers (Nexus, Artifactory, Helm). Use when someone wants to configure build infrastructure, set up connectors, or prepare CI build runners.
Set up Cloud Cost Management (CCM) and FinOps capabilities. Includes Kubernetes connectors for cost visibility, automatic K8s connector discovery, AutoStopping for idle resources, and Cluster Orchestrator for spot instance optimization. Use when someone wants cloud cost management, CCM, FinOps, cost optimization, autostop, spot instances, or cluster orchestrator.
Set up CI pipeline templates and golden pipelines. Creates reusable CI stage templates, step group templates (build, lint, scan, supply chain security), and optionally pre-built pipelines for specific repositories with webhook triggers. Use when someone wants to set up CI, continuous integration, build pipelines, or CI templates.
Set up image factory pipelines. CI Image Factory migrates Harness CI step images to your private container registry. Delegate Image Factory builds custom delegate images with additional tools. Use when someone wants image migration, image factory, custom delegates, private registry mirroring, or container image management.
Create a new Harness Organization with roles, user groups, resource groups, environments, and governance policies. Use when someone wants to create a new org, set up an organization, or provision organizational structure in Harness.
Set up the Harness Platform account baseline. Creates account-level roles (Shared Resource Access), admin user groups, and OPA governance policies (template versioning, API token age enforcement). Use when someone wants to initialize their Harness account, set up the platform foundation, or configure account-level governance.
| name | ansible |
| description | Set up Ansible step group templates for running Ansible playbooks in CI, Deployment, and IACM pipelines. Use when someone wants Ansible integration, playbook execution, configuration management, or Ansible templates in Harness. |
| allowed-tools | ["Bash","Read","Write","Glob","Grep"] |
Set up Ansible execution templates using the ansible-step-group-template module.
Module directory: ansible-step-group-template/
$ARGUMENTS
alpine/ansible)| Input | Required | Default | Description |
|---|---|---|---|
| Template Name | No | "Execute Ansible" | Display name for templates |
| Template Version | No | "1.0" | Version label |
| Stage Types | No | Deployment, CI, IACM | Which pipeline types get templates |
| Harness Code | No | false | Use Harness Code for playbooks? |
| Docker Image | No | alpine/ansible | Ansible execution image |
| K8s Connector | No | skipped | For self-hosted runners |
"Which pipeline types need Ansible support?"
"Will you store Ansible playbooks in Harness Code Repository?"
"Any custom Ansible image?" (most users: use the default)
"Self-hosted K8s or Harness Cloud?" (determines kubernetes_connector)
Most defaults are sensible — keep it simple unless the user asks for customization.
Generate tfvars, init, plan, confirm, apply.