forked from ISTI-ansible-roles/ansible-roles
gcube-oauth: Manage the app removal correctly.
This commit is contained in:
parent
7e6dc2efc4
commit
c2988484c5
|
@ -1,7 +1,10 @@
|
||||||
---
|
---
|
||||||
- block:
|
- block:
|
||||||
- name: Remove the old gcube oauth files
|
- name: Remove the old gcube oauth files
|
||||||
file: path={{ smartgears_instance_path }}/webapps/gcube-{{ gcube_oauth_name }} state=absent
|
file: path={{ item }} state=absent
|
||||||
|
with_items:
|
||||||
|
- '{{ smartgears_instance_path }}/webapps/gcube-{{ gcube_oauth_name }}'
|
||||||
|
- '{{ smartgears_instance_path }}/webapps/gcube-{{ gcube_oauth_name }}.{{ gcube_oauth_extension }}'
|
||||||
|
|
||||||
become: True
|
become: True
|
||||||
become_user: '{{ d4science_user }}'
|
become_user: '{{ d4science_user }}'
|
||||||
|
|
Loading…
Reference in New Issue