Skip to content
Snippets Groups Projects
Commit ba19ad91 authored by Franck Bebel's avatar Franck Bebel
Browse files

[devops] keep data dir at uninstall

parent 5c26efef
No related branches found
No related tags found
1 merge request!1Feature/design/1
delete_data_dir: false
\ No newline at end of file
--- ---
# tasks file for vitam-service-uninstall # tasks file for vitam-service-uninstall
- name: Stop vitam service - name: Stop vitam service
...@@ -20,10 +19,17 @@ ...@@ -20,10 +19,17 @@
- app - app
- bin - bin
- conf - conf
- data
- defaults - defaults
- lib - lib
- log - log
- run - run
- script - script
- tmp - tmp
- name: Delete data of the service
file:
name: "{{ vitam_defaults.folder.root_path }}/{{ item }}/{{ service_name }}"
state: absent
when: delete_data_dir
with_items:
- data
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment