Compare commits

..

1 Commits

2 changed files with 2 additions and 3 deletions

View File

@@ -94,6 +94,7 @@
- name: Set install_drive from primary disk - name: Set install_drive from primary disk
when: when:
- install_drive is not defined
- system_disks_cfg | length > 0 - system_disks_cfg | length > 0
- system_disks_cfg[0].device | string | length > 0 - system_disks_cfg[0].device | string | length > 0
ansible.builtin.set_fact: ansible.builtin.set_fact:

View File

@@ -79,9 +79,7 @@
os_version: "{{ system_cfg.version | default('') | string }}" os_version: "{{ system_cfg.version | default('') | string }}"
- name: Normalize disk configuration (pre-computed system_cfg) - name: Normalize disk configuration (pre-computed system_cfg)
when: when: system_cfg is defined
- system_cfg is defined
- install_drive is not defined
ansible.builtin.include_tasks: _normalize_disks.yml ansible.builtin.include_tasks: _normalize_disks.yml
# Runs on every path before validation, so an empty firewall.backend / content.source # Runs on every path before validation, so an empty firewall.backend / content.source