-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathplaybook.yml
More file actions
31 lines (30 loc) · 1.04 KB
/
playbook.yml
File metadata and controls
31 lines (30 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
# Unified Galaxy/Pulsar Kubernetes deployment playbook
# Optimized for pre-prepared images with RKE2 prerequisites and Helm
#
# Host Group: vms
#
# Usage Examples:
# # Deploy Galaxy (default):
# ansible-playbook -i inventory playbook.yml
#
# # Deploy Pulsar instead of Galaxy:
# ansible-playbook -i inventory playbook.yml -e "application=pulsar"
#
# # Deploy on bare Ubuntu (full setup):
# ansible-playbook -i inventory playbook.yml -e "setup_system=true"
- name: Deploy Galaxy/Pulsar on Kubernetes
hosts: vms
gather_facts: true
become: true
roles:
- role: galaxy_k8s_deployment
vars:
setup_system: false # Skip - already installed in image (includes Helm)
# Set to true via -e for bare Ubuntu VMs
setup_rke2: true # Configure and start RKE2
setup_nfs: true
setup_storage: true
setup_ingress: true
deploy_galaxy: "{{ application | default('galaxy') == 'galaxy' }}"
deploy_pulsar: "{{ application | default('galaxy') == 'pulsar' }}"