Skip to content

Commit bd6ca27

Browse files
committed
Fix edpm_tuned_profile handling
Co-Authored-By: John Fulton <fulton@redhat.com> Signed-off-by: Oliver Walsh <owalsh@redhat.com>
1 parent d16b231 commit bd6ca27

File tree

1 file changed

+3
-1
lines changed
  • tests/roles/dataplane_adoption/defaults

1 file changed

+3
-1
lines changed

tests/roles/dataplane_adoption/defaults/main.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,9 @@ dataplane_cr: |
295295
ansible:
296296
ansibleUser: {{ edpm_user }}
297297
ansibleVars:
298-
edpm_tuned_profile: {{ edpm_tuned_profile|default(omit) }}
298+
{% if edpm_tuned_profile is defined -%}
299+
edpm_tuned_profile: {{ edpm_tuned_profile }}
300+
{% endif -%}
299301
edpm_bootstrap_release_version_package: []
300302
os_net_config_iface: {{ dataplane_os_net_config_iface | default ('nic1') }}
301303
os_net_config_set_route: {{ dataplane_os_net_config_set_route | default(true) | bool }}

0 commit comments

Comments
 (0)