From 24cfab57b66ccaa81e5d4157f5bd918c9317b8e1 Mon Sep 17 00:00:00 2001 From: "matt.d" Date: Wed, 3 Apr 2024 16:09:34 -0700 Subject: [PATCH] Append tpoint_group_mask if defined --- roles/start_dss_target/tasks/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/start_dss_target/tasks/main.yml b/roles/start_dss_target/tasks/main.yml index 3e314e6..66ab79d 100644 --- a/roles/start_dss_target/tasks/main.yml +++ b/roles/start_dss_target/tasks/main.yml @@ -105,6 +105,11 @@ -m {{ custom_coremask }} when: custom_coremask is defined +- name: Append tpoint_group_mask if defined + ansible.builtin.set_fact: + nvmf_tgt_cmd: "{{ nvmf_tgt_cmd }} --tpoint-group-mask {{ tpoint_group_mask }}" + when: tpoint_group_mask is defined + - name: Find running target process ansible.builtin.command: "pgrep reactor_" register: nvmf_ps