forked from ISTI-ansible-roles/ansible-roles
added tasks for removing worki and job folders
This commit is contained in:
parent
98fab03849
commit
9497c48988
|
@ -21,6 +21,17 @@
|
||||||
file: path={{ smartgears_instance_path }}/webapps/{{ dm_pool_manager_name }} state=absent
|
file: path={{ smartgears_instance_path }}/webapps/{{ dm_pool_manager_name }} state=absent
|
||||||
when: dm_pool_manager_download is changed
|
when: dm_pool_manager_download is changed
|
||||||
|
|
||||||
|
- name: Remove the work folder
|
||||||
|
file: dest={{ smartgears_user_home }}/dataminer-pool-manager/work state=absent
|
||||||
|
file: dest={{ smartgears_user_home }}/dataminer-pool-manager/work state=directory
|
||||||
|
when: dm_pool_manager_download is changed
|
||||||
|
|
||||||
|
- name: Remove the job folder
|
||||||
|
file: dest={{ smartgears_user_home }}/dataminer-pool-manager/jobs state=absent
|
||||||
|
file: dest={{ smartgears_user_home }}/dataminer-pool-manager/jobs state=directory
|
||||||
|
when: dm_pool_manager_download is changed
|
||||||
|
|
||||||
|
|
||||||
- name: Create the dm_pool_manager working directory
|
- name: Create the dm_pool_manager working directory
|
||||||
file: path={{ smartgears_instance_path }}/webapps/{{ dm_pool_manager_name }} state=directory owner={{ smartgears_user }} group={{ smartgears_user }}
|
file: path={{ smartgears_instance_path }}/webapps/{{ dm_pool_manager_name }} state=directory owner={{ smartgears_user }} group={{ smartgears_user }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue