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:17:13 +10:00
parent ae092f68b1
commit c33dc40aef

View File

@@ -81,6 +81,8 @@
searchdomain: "{{ domain | default(default_domain) }}"
netif:
net0: "name=eth0,bridge=vmbr0,ip={{ ip_address }}/24,gw=192.168.0.1"
environment:
PYTHONHTTPSVERIFY: "0" # <--- И здесь тоже
when: type | default('vm') == 'lxc'
# === Управление High Availability (HA) ===
@@ -97,8 +99,10 @@
state: "{{ 'enabled' if (ha_enabled | default(false) | bool) else 'disabled' }}"
group: "{{ ha_group | default(omit) }}"
# Задача выполнится только если ha_enabled=true (или если мы явно хотим её выключить)
when: ha_enabled | default(false) | bool
when: ha_enabled | default(false) | bool
environment:
PYTHONHTTPSVERIFY: "0" # <--- И здесь тоже
# === Выводим ID в конце, чтобы знать, что создалось ===
- name: Show allocated ID
ansible.builtin.debug: