diff options
Diffstat (limited to 'benchmarks/playbooks/ssl.yaml')
-rw-r--r-- | benchmarks/playbooks/ssl.yaml | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/benchmarks/playbooks/ssl.yaml b/benchmarks/playbooks/ssl.yaml index 9416bb38..9ba16455 100644 --- a/benchmarks/playbooks/ssl.yaml +++ b/benchmarks/playbooks/ssl.yaml @@ -1,16 +1,14 @@ - hosts: 127.0.0.1 connection: local - remote_user: '{{ ansible_env.USER }}' - sudo: no tasks: - name: making ssl directory file: path={{workingdir}}/{{Dest_dir}}/ssl state=directory - name: making temporary ssl directory file: path={{workingdir}}/{{Dest_dir}}/ssl/ssl_temp state=directory - hosts: "{{role}}" - remote_user: root + become: yes + become_user: "{{username}}" tasks: - - name: checking_home directory shell: echo $HOME register: home_dir @@ -73,8 +71,6 @@ - hosts: 127.0.0.1 connection: local - remote_user: '{{ ansible_env.USER }}' - sudo: no tasks: - name: echo shell: echo $PWD |