diff options
author | MofassirArif <Mofassir_Arif@dellteam.com> | 2016-01-28 04:29:29 -0800 |
---|---|---|
committer | Nauman Ahad <nauman.ahad@xflowresearch.com> | 2016-02-01 22:35:33 +0000 |
commit | f2b895c2b5df03a6b726f58eac456dad9cf54e34 (patch) | |
tree | 7a516390c4139b019c5f50f4675b9487956a476d /benchmarks/playbooks/dpi.yaml | |
parent | 70326a8fd57f115f6d0889cfddada7c6945a691b (diff) |
qtip: add condition for switching user to joid.
Change-Id: I9898a4eb21fb197a59fc72686d156eb4ef115388
Signed-off-by: MofassirArif <Mofassir_Arif@dellteam.com>
(cherry picked from commit 4c27a6b94a0664418664569384ce236159385c71)
Diffstat (limited to 'benchmarks/playbooks/dpi.yaml')
-rw-r--r-- | benchmarks/playbooks/dpi.yaml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/benchmarks/playbooks/dpi.yaml b/benchmarks/playbooks/dpi.yaml index 19ab30ce..e4b7a0fc 100644 --- a/benchmarks/playbooks/dpi.yaml +++ b/benchmarks/playbooks/dpi.yaml @@ -7,8 +7,11 @@ file: path={{workingdir}}/{{Dest_dir}}/dpi/dpi_temp state=directory - hosts: "{{role}}" + become: yes + become_user: "{{username}}" tasks: - + - name: echo + shell: echo $USER - name: checking_home directory shell: echo $HOME register: home_dir |