diff --git a/smartgears/gcube-oauth/tasks/main.yml b/smartgears/gcube-oauth/tasks/main.yml index f15d8695..307c28c0 100644 --- a/smartgears/gcube-oauth/tasks/main.yml +++ b/smartgears/gcube-oauth/tasks/main.yml @@ -1,7 +1,7 @@ --- - block: - name: Remove the old gcube oauth files - file: path={{ smartgears_instance_path }}/webapps/{{ gcube_oauth_name }} state=absent + file: path={{ smartgears_instance_path }}/webapps/gcube-{{ gcube_oauth_name }} state=absent become: True become_user: '{{ d4science_user }}'