well,
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 0s

This commit is contained in:
hogweed1
2026-11-04 20:51:13 +10:00
parent 8efc2d3b38
commit cabade9cb7

View File

@@ -82,12 +82,12 @@
# === Управление High Availability (HA) ===
- name: Configure High Availability (HA)
community.general.proxmox_ha:
community.proxmox.proxmox_cluster_ha_resources:
api_host: "{{ target_node }}"
api_user: "{{ pve_user }}"
api_password: "{{ pve_password }}"
api_validate_certs: false
sid: "{{ 'ct' if type | default('vm') == 'lxc' else 'vm' }}:{{ allocated_id }}"
name: "{{ 'ct' if type | default('vm') == 'lxc' else 'vm' }}:{{ allocated_id }}"
state: "{{ 'enabled' if (ha_enabled | default(false) | bool) else 'disabled' }}"
group: "{{ ha_group | default(omit) }}"
# Задача выполнится только если ha_enabled=true (или если мы явно хотим её выключить)