22 lines
677 B
YAML
22 lines
677 B
YAML
---
|
|
# playbooks/proxmox/reconcile_cluster_v2.yml
|
|
# Clean, idempotent Proxmox cluster reconciliation workflow.
|
|
#
|
|
# Usage examples:
|
|
# Validate only:
|
|
# ansible-playbook -i inventory/hosts.ini playbooks/proxmox/reconcile_cluster_v2.yml \
|
|
# -e "cluster_mode=validate"
|
|
#
|
|
# Join pve01 to existing cluster via pve02 anchor:
|
|
# ansible-playbook -i inventory/hosts.ini playbooks/proxmox/reconcile_cluster_v2.yml \
|
|
# --limit localhost \
|
|
# -e "cluster_mode=join" \
|
|
# -e "join_node=pve01" \
|
|
# -e "join_target_host=pve02"
|
|
|
|
- name: Reconcile Proxmox cluster membership (v2)
|
|
hosts: localhost
|
|
gather_facts: false
|
|
roles:
|
|
- role: proxmox_cluster_reconcile_v2
|