diff --git a/smartgears/smart_executor/tasks/main.yml b/smartgears/smart_executor/tasks/main.yml index fc7bb5e1..99d359aa 100644 --- a/smartgears/smart_executor/tasks/main.yml +++ b/smartgears/smart_executor/tasks/main.yml @@ -18,5 +18,7 @@ unarchive: copy=no src={{ smartgears_user_home }}/{{ smart_executor_file }} dest={{ smartgears_instance_path }}/webapps/{{ smart_executor_name }} creates={{ smartgears_instance_path }}/webapps/{{ smart_executor_name }}/WEB-INF/lib when: smart_executor_install notify: Restart smartgears - + + become: True + become_user: '{{ d4science_user }}' tags: [ 'smartgears', 'smart_executor', 'tomcat' ]