Deploy Operator Platform environments with Ansible.
Deploy the Operator Platform quickly and reliably using Ansible-based automation. This repository is designed for developers, operators, and organizations looking to streamline the deployment of a complete Operator Platform environment with minimal manual effort.
This repository is mainly used to:
---
- prepare target hosts
- create Kind-based Kubernetes clusters
- deploy Operator Platform components
- run single-host or dual-host federation scenarios
## Features
## Start here
-**Complete Stack**: Deploy Kubernetes clusters, platform components, and utilities.
Ansible automatically loads **all**`.yml` files from `group_vars/<group_name>/` for hosts in that group. Since all our hosts are in the `all` group, these variables are available everywhere.
## Pluggable Components
The platform supports pluggable implementations for several components:
### Kubernetes Distribution (`k8s_distribution`)
-**kind** (default): Deploy Kind cluster
-**existing**: Use existing cluster (skip provisioning)
-`federation_manager.yml`: Federation Manager, Keycloak, MongoDB ports and vars
-`homer.yml`: Homer settings
-`lite2edge.yml`: Lite2Edge settings
-`i2edge.yml`: i2edge settings
Ansible loads variables in this order (later wins):
## How to think about overrides
1. `group_vars/all/*.yml` (alphabetically)
2. Playbook variables
3. Command-line extra vars (`-e`)
Common order of use:
All files in `group_vars/all/` have equal precedence and are loaded alphabetically. Variables in later files can reference variables from earlier files.
1. defaults in `inventory/group_vars/all/*.yml`
2. scenario-specific playbook vars
3. command-line `-e`
## Quick Reference
If you want to change behavior for one run only, prefer `-e`.