# Ansible

The Connectware Ansible collection enables you to fully automate all configuration options available in the Connectware web interface. Instead of performing manual steps in the Admin UI, you can declaratively manage Connectware and its components as code.

With this collection, you can:

* **Install and manage Connectware**: Ensure that Connectware is present or absent, start, stop, or restart instances, and define installation details such as paths, custom compose files, or environment properties.
* **Automate service lifecycle management**: Deploy services from service commissioning files and enable, disable, restart, or remove them.
* **Control roles, permissions, and users**: Define roles and permissions directly in your playbooks to manage user access.
* **Operate Connectware agents**: Handle agent setup, control their running state, and configure advanced options like agent naming or restart policies.

## Connectware Ansible Collection

The official Ansible collection for Connectware is available on [Ansible Galaxy](https://galaxy.ansible.com/ui/repo/published/cybus/connectware/docs/). There you will find documentation, usage examples, and guidance on how to extend the roles to fit your environment.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cybus.io/guides/ansible.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
