[CI] Force config drive for ipv6 jobs

As our CI is ipv6 only and using cirros for tests.
Therefore we need to set force_config_drive = true.

Change-Id: I07058a4b30d0de1aaf8e82656024c5f6a99b290b
This commit is contained in:
Michal Arbet 2024-03-26 08:34:49 +01:00
parent 79625c1c88
commit 11685a8f4a
2 changed files with 4 additions and 0 deletions

View File

@ -164,6 +164,7 @@
become: "{{ item.become | default(false) }}"
vars:
is_previous_release: "{{ is_upgrade }}"
force_config_drive: "{{ 'true' if address_family == 'ipv6' else 'false' }}"
with_items:
# Ansible inventory
- src: "tests/templates/inventory.j2"
@ -647,6 +648,7 @@
dest: "{{ item.dest }}"
vars:
is_previous_release: false
force_config_drive: "{{ 'true' if address_family == 'ipv6' else 'false' }}"
with_items:
# Ansible inventory
- src: "tests/templates/inventory.j2"

View File

@ -1,3 +1,5 @@
[DEFAULT]
force_config_drive = {{ force_config_drive }}
[libvirt]
{% if ansible_architecture == 'aarch64' %}
cpu_mode = custom