Merge "Offload kernel module management to openstack_hosts"
This commit is contained in:
@@ -138,12 +138,3 @@
|
|||||||
- (host_data_disk_size_bytes | int) < (host_data_disk_min_size_bytes | int)
|
- (host_data_disk_size_bytes | int) < (host_data_disk_min_size_bytes | int)
|
||||||
tags:
|
tags:
|
||||||
- check-disk-size
|
- 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
|
|
||||||
|
|||||||
@@ -154,6 +154,9 @@
|
|||||||
- src: aio1_networks.yml.j2
|
- src: aio1_networks.yml.j2
|
||||||
dest: host_vars/aio1/networks.yml
|
dest: host_vars/aio1/networks.yml
|
||||||
condition: true
|
condition: true
|
||||||
|
- src: aio1_kernel.yml.j2
|
||||||
|
dest: host_vars/aio1/kernel.yml
|
||||||
|
condition: true
|
||||||
- src: user_variables_ceph.yml.j2
|
- src: user_variables_ceph.yml.j2
|
||||||
dest: user_variables_ceph.yml
|
dest: user_variables_ceph.yml
|
||||||
condition: "{{ 'ceph' in bootstrap_host_scenarios_expanded }}"
|
condition: "{{ 'ceph' in bootstrap_host_scenarios_expanded }}"
|
||||||
|
|||||||
5
tests/roles/bootstrap-host/templates/aio1_kernel.yml.j2
Normal file
5
tests/roles/bootstrap-host/templates/aio1_kernel.yml.j2
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
aio1_kernel_modules_bootstrap:
|
||||||
|
- name: vxlan
|
||||||
|
- name: bonding
|
||||||
@@ -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_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_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_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"
|
openstack_hosts_systemd_networkd_prefix: "osa_testing"
|
||||||
{% endraw %}
|
{% endraw %}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user