register-project
Register an existing Ansible project by providing a unique name and root directory. Optionally configure inventory, roles, collections, playbooks paths, environment variables, or set as default.
Instructions
Register an existing Ansible project with this MCP server.
Args: name: Unique project name. root: Project root directory. inventory: Optional default inventory file or directory path. roles_paths: Optional list to export via ANSIBLE_ROLES_PATH. collections_paths: Optional list to export via ANSIBLE_COLLECTIONS_PATHS. playbooks_path: Optional default path for playbooks (relative to root or absolute). env: Optional extra environment variables to export for this project. make_default: If true, set this project as the default. Returns: Dict: saved config path and project list
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | ||
| name | Yes | ||
| root | Yes | ||
| inventory | No | ||
| roles_paths | No | ||
| make_default | No | ||
| playbooks_path | No | ||
| collections_paths | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||