From a7908e624ef6569979bd69c1d3c87d22a070599f Mon Sep 17 00:00:00 2001 From: Matthew N Heler Date: Sat, 31 Oct 2020 11:16:39 -0500 Subject: [PATCH] Ensure tuned_custom_profile is used for tuned role The role currently uses custom_profile which is undefined. Rename custom_profile to tuned_custom_profile so that an operator can actually use custom tuned profiles. Change-Id: Ibb2642a981101d7a6a4cfce06d20b478190a4cd3 --- tripleo_ansible/roles/tuned/tasks/tuned_config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tripleo_ansible/roles/tuned/tasks/tuned_config.yml b/tripleo_ansible/roles/tuned/tasks/tuned_config.yml index 3cba32d66..caf375d4f 100644 --- a/tripleo_ansible/roles/tuned/tasks/tuned_config.yml +++ b/tripleo_ansible/roles/tuned/tasks/tuned_config.yml @@ -20,14 +20,14 @@ path: "/etc/tuned/{{ tuned_profile }}" state: directory when: - - (custom_profile is defined) and ((custom_profile | length) > 0) + - (tuned_custom_profile is defined) and ((tuned_custom_profile | length) > 0) - name: Create custom tuned profile copy: - content: "{{ custom_profile }}" + content: "{{ tuned_custom_profile }}" dest: "/etc/tuned/{{ tuned_profile }}/tuned.conf" when: - - (custom_profile is defined) and ((custom_profile | length) > 0) + - (tuned_custom_profile is defined) and ((tuned_custom_profile | length) > 0) - name: Check tuned active profile slurp: