kolla-ansible/ansible/roles/common/tasks/clean_heka.yml
zhubingbing d3d4a933be Add fluentd role
* add fluentd role
* remove heka configure

Co-Authored-By: yangzb09 <yangzb09@qq.com>

Partially-Implements: blueprint add-fluentd-role

Change-Id: Ica804a99f5bb8b157f406299c5982b7b6283b3e3
2017-01-24 07:44:59 +00:00

14 lines
254 B
YAML

---
- name: Get container facts
kolla_container_facts:
name:
- heka
register: container_facts
- name: Removing heka container
kolla_docker:
action: "remove_container"
name: "heka"
when:
- container_facts['heka'] is defined