From f2b895c2b5df03a6b726f58eac456dad9cf54e34 Mon Sep 17 00:00:00 2001 From: MofassirArif Date: Thu, 28 Jan 2016 04:29:29 -0800 Subject: qtip: add condition for switching user to joid. Change-Id: I9898a4eb21fb197a59fc72686d156eb4ef115388 Signed-off-by: MofassirArif (cherry picked from commit 4c27a6b94a0664418664569384ce236159385c71) --- benchmarks/playbooks/dhrystone.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'benchmarks/playbooks/dhrystone.yaml') diff --git a/benchmarks/playbooks/dhrystone.yaml b/benchmarks/playbooks/dhrystone.yaml index c3cfb333..3c1c7fb2 100644 --- a/benchmarks/playbooks/dhrystone.yaml +++ b/benchmarks/playbooks/dhrystone.yaml @@ -7,7 +7,8 @@ file: path={{workingdir}}/{{Dest_dir}}/dhrystone/dhrystone_temp state=directory - hosts: "{{role}}" - + become: yes + become_user: "{{username}}" tasks: - name: checking_home directory shell: echo $HOME -- cgit 1.2.3-korg