Merge "Offload kernel module management to openstack_hosts"

This commit is contained in:
Zuul
2025-09-06 05:40:11 +00:00
committed by Gerrit Code Review
4 changed files with 9 additions and 9 deletions

View File

@@ -138,12 +138,3 @@
- (host_data_disk_size_bytes | int) < (host_data_disk_min_size_bytes | int)
tags:
- check-disk-size
- name: Ensure that the kernel has VXLAN, VLAN, and bonding support
community.general.modprobe:
name: "{{ item }}"
state: present
with_items:
- vxlan
- bonding
- 8021q

View File

@@ -154,6 +154,9 @@
- src: aio1_networks.yml.j2
dest: host_vars/aio1/networks.yml
condition: true
- src: aio1_kernel.yml.j2
dest: host_vars/aio1/kernel.yml
condition: true
- src: user_variables_ceph.yml.j2
dest: user_variables_ceph.yml
condition: "{{ 'ceph' in bootstrap_host_scenarios_expanded }}"

View File

@@ -0,0 +1,5 @@
---
aio1_kernel_modules_bootstrap:
- name: vxlan
- name: bonding

View File

@@ -48,6 +48,7 @@ openstack_hosts_journald_config:
openstack_hosts_systemd_services: "{{ query('vars', *query('varnames', '^aio_systemd_services_')) | flatten(levels=1) }}"
openstack_hosts_systemd_networkd_networks: "{{ query('vars', *query('varnames', '^aio_systemd_networkd_networks_')) | flatten(levels=1) }}"
openstack_hosts_systemd_networkd_devices: "{{ query('vars', *query('varnames', '^aio_systemd_networkd_devices_')) | flatten(levels=1) }}"
openstack_host_specific_kernel_modules: "{{ query('vars', *query('varnames', '^aio1_kernel_modules_')) | flatten(levels=1) }}"
openstack_hosts_systemd_networkd_prefix: "osa_testing"
{% endraw %}