Skip to content
Commit a93a415e authored by Sergio Gimenez's avatar Sergio Gimenez
Browse files

Refactor federation-manager roles to follow standard pattern

- Create role-template/ with standard structure and documentation
- Refactor federation-manager role:
  - Split monolithic 95-line main.yml into deploy/undeploy tasks
  - Add state-based routing (federation_manager_state)
  - Organize defaults with clear section headers
  - Convert kubectl commands to kubernetes.core.k8s module
- Refactor federation-manager-remote role:
  - Apply same pattern as federation-manager
  - Add state-based routing (remote_federation_manager_state)
  - Add explanatory comments about simulating partner OP
- Add ROLE_REFACTORING.md documenting progress and standards

Benefits:
- Self-documenting: Clear where deploy/undeploy logic lives
- Consistent: Same pattern across roles
- Maintainable: Separated concerns, DRY principles
- Flexible: Can toggle components with state variable
parent 0e329628
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment