-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
Their cleanup has been added to monasca cleanup command. Change-Id: I19a846e2683ae70b33ca64d2aba7ac71eb724588
- Loading branch information
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
- name: Stop and remove containers for disabled kafka services | ||
become: true | ||
kolla_docker: | ||
action: "stop_and_remove_container" | ||
name: "{{ item.value.container_name }}" | ||
when: | ||
- inventory_hostname in groups[item.value.group] | ||
- not item.value.enabled | bool | ||
with_dict: "{{ kafka_services }}" | ||
|
||
- name: Removing config for any disabled services | ||
file: | ||
path: "{{ node_config_directory }}/{{ item.key }}" | ||
state: "absent" | ||
become: true | ||
when: | ||
- inventory_hostname in groups[item.value.group] | ||
- not item.value.enabled | bool | ||
with_dict: "{{ kafka_services }}" | ||
|
||
# NOTE(dszumski): Docker volume removal is currently a manual procedure |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.