Skip to content

Commit 29a1d2c

Browse files
hjensasevallesp
authored andcommitted
Fix network config in create_cloud_init_iso.yml
The tasks before this one set a fact `_network_data`, it was looking for a defined `_network_config` in this task which is never set so `cifmw_config_drive_networkconfig` end up being `None` even if we defined network config in `cifmw_libvirt_manager_configuration`. Jira: OSPRH-17107
1 parent 4394d2a commit 29a1d2c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

roles/libvirt_manager/tasks/create_cloud_init_iso.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
_default_uuid: "{{ 99999999 | random(seed=vm) | to_uuid | lower }}"
6464
cifmw_config_drive_uuid: "{{ _uuid.stdout | default(_default_uuid) | trim}}"
6565
cifmw_config_drive_hostname: "{{ vm }}"
66-
cifmw_config_drive_networkconfig: "{{ _network_config | default(None) }}"
66+
cifmw_config_drive_networkconfig: "{{ _network_data | default(None) }}"
6767
cifmw_config_drive_userdata: "{{ _user_data }}"
6868
ansible.builtin.include_role:
6969
name: config_drive

0 commit comments

Comments
 (0)