diff --git a/extraconfig/pre_network/ansible_host_config.yaml b/extraconfig/pre_network/ansible_host_config.yaml index 2d862613c9..9a0b54a9c2 100644 --- a/extraconfig/pre_network/ansible_host_config.yaml +++ b/extraconfig/pre_network/ansible_host_config.yaml @@ -26,7 +26,7 @@ - block: - name: Tune-d Configuration lineinfile: - dest: /etc/tuned/cpu-partitioning-variables.conf + dest: /etc/tuned/{{ _TUNED_PROFILE_NAME_ }}-variables.conf regexp: '^isolated_cores=.*' line: 'isolated_cores={{ _TUNED_CORES_ }}' when: _TUNED_CORES_|default("") != ""