This commit is contained in:
@@ -87,7 +87,7 @@
|
||||
api_user: "{{ pve_user }}"
|
||||
api_password: "{{ pve_password }}"
|
||||
api_validate_certs: false
|
||||
sid: "ct:{{ allocated_id }}" if type | default('vm') == 'lxc' else "vm:{{ allocated_id }}"
|
||||
sid: "{{ '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 (или если мы явно хотим её выключить)
|
||||
|
||||
Reference in New Issue
Block a user