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

[devops] put consul as vitam service

parent 48e965bb
No related branches found
No related tags found
1 merge request!1Feature/design/1
--- ---
# tasks file for vitam-consul-uninstall # tasks file for vitam-service-uninstall
- name: Stop vitam service - name: Stop vitam service
systemd: systemd:
name: "vitam-{{ service_name }}" name: "vitam-{{ service_name }}"
...@@ -14,16 +14,16 @@ ...@@ -14,16 +14,16 @@
- name: Delete file system of consul - name: Delete file system of consul
file: file:
name: "{{ item }}" name: "{{ vitam_defaults.folder.root_path }}/{{ item }}/{{ service_name }}"
state: absent state: absent
with_items: with_items:
- "/vitam/app/{{ service_name }}" - app
- "/vitam/bin/{{ service_name }}" - bin
- "/vitam/conf/{{ service_name }}" - conf
- "/vitam/data/{{ service_name }}" - data
- "/vitam/defaults/{{ service_name }}" - defaults
- "/vitam/lib/{{ service_name }}" - lib
- "/vitam/log/{{ service_name }}" - log
- "/vitam/run/{{ service_name }}" - run
- "/vitam/script/{{ service_name }}" - script
- "/vitam/tmp/{{ service_name }}" - tmp
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
- uninstall - uninstall
vars: vars:
service_name: consul service_name: consul
uninstaller_type: consul uninstaller_type: vitam-service
tags: tags:
- consul - consul
- zone-vitamui-infra - zone-vitamui-infra
......
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