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
Loading
Please sign in to comment