Overview
An Ansible profile holds what SQIBS needs to run Ansible playbooks and commands: the version and the connection details. Create it once and use it in any workflow. You can create it on the Callgoose cloud, or as an internal profile of a runner to run inside your network.
You need
Permission to manage automation profilesWhere
Automation > ProfilesResult
A reusable Ansible environmentCreate the profile
- Go to Automation > Profiles, choose Global or a team, click Add Profile and choose Ansible. For a runner, open the runner profile instead and add the Ansible profile under Internal Profiles.
- Fill in the fields below and click Save.
| Field | What to enter |
|---|---|
| Name, Description | What the profile is for. |
| Files from Git or Callgoose | Keep the profile files in SQIBS, or in Git with a profile entry file. |
| Ansible Version | For example 2.17. |
| Ansible User | The remote user (without -u). |
| Ansible Options | Optional, for example ansible_ssh_timeout=30. |
| Ansible Inventory File | Your inventory (hosts) file. |
| Ansible Configuration File | Your ansible.cfg. |
| Ansible Command To Run | Runner internal profiles only: for example ansible-playbook. |
Use it
In a workflow, choose this profile for each Ansible action. If the action runs on a runner, choose the Runner Internal Profile instead.