From e4b25a5d2b571439475276835596245bcef06f99 Mon Sep 17 00:00:00 2001 From: hogweed1 Date: Wed, 4 Nov 2026 21:05:53 +1000 Subject: [PATCH] well, --- playbooks/_helpers/create_vm_or_lxc.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/playbooks/_helpers/create_vm_or_lxc.yml b/playbooks/_helpers/create_vm_or_lxc.yml index be6b587..8a8ece9 100644 --- a/playbooks/_helpers/create_vm_or_lxc.yml +++ b/playbooks/_helpers/create_vm_or_lxc.yml @@ -86,8 +86,10 @@ - name: Configure High Availability (HA) community.proxmox.proxmox_cluster_ha_resources: api_host: "{{ target_node }}" - api_user: "{{ pve_user }}" - api_password: "{{ pve_password }}" + #api_user: "{{ pve_user }}" + #api_password: "{{ pve_password }}" + api_token_id: "{{ var_api_token_id }}" + api_token_secret: "{{ var_api_token_secret }}" #api_validate_certs: false name: "{{ 'ct' if type | default('vm') == 'lxc' else 'vm' }}:{{ allocated_id }}" state: "{{ 'enabled' if (ha_enabled | default(false) | bool) else 'disabled' }}"