Configure Ansible Pipelines

Execute Ansible playbooks stored in SCM repositories through Opsera pipeline steps in sequence.

circle-info

Prerequisites: Create an Ansible Tool in Tool Registry and verify the connection is successful before pipeline configuration.

Configure Ansible Pipeline Step

1

Create pipeline

Login → Pipeline → create new pipeline → add step → Tool Identifier:Ansible→ Save.

2

Step Settings

  • Ansible Tool: Configured Ansible Tool from Tool Registry — verify connection

  • SCM Service Type: Bitbucket · GitHub · GitLab

  • SCM Tool: Tool connected to the playbook repository

  • Repository: Repo containing the playbook file

  • Branch: Branch where playbook is stored

  • Playbook File Path: Directory path to the playbook file

  • Playbook File Name: Click "fetch file list" to populate from path

  • Playbook Command Arguments: Custom runtime parameters

Last updated