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

This commit is contained in:
hogweed1
2026-11-04 21:19:53 +10:00
parent d8ceb603b8
commit 58a353a845

View File

@@ -96,7 +96,7 @@
api_token_secret: "{{ pve_token_secret }}"
validate_certs: false
name: "{{ 'ct' if type | default('vm') == 'lxc' else 'vm' }}:{{ allocated_id }}"
state: "{{ 'enabled' if (ha_enabled | default(false) | bool) else 'disabled' }}"
state: "{{ 'present' if (ha_enabled | default(false) | bool) else 'absent' }}"
group: "{{ ha_group | default(omit) }}"
# Задача выполнится только если ha_enabled=true (или если мы явно хотим её выключить)
when: ha_enabled | default(false) | bool