From 7fa1a08fd2055eec5766e4539fe9237604959490 Mon Sep 17 00:00:00 2001 From: Ryan Hallisey Date: Sat, 8 Oct 2016 18:39:29 -0400 Subject: [PATCH] Remove unneeded Heka bootstrapping code The Heka bookstrap doesn't do anything different then the start code. Remove the boostrap step since it isn't needed. Change-Id: Id9906c6e2cef83fd6d1fcbcbef7a32d9948d07a3 Closes-bug: #1631651 --- ansible/roles/common/tasks/bootstrap.yml | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/ansible/roles/common/tasks/bootstrap.yml b/ansible/roles/common/tasks/bootstrap.yml index b7fbeebfdc..6c889e0870 100644 --- a/ansible/roles/common/tasks/bootstrap.yml +++ b/ansible/roles/common/tasks/bootstrap.yml @@ -5,22 +5,3 @@ common_options: "{{ docker_common_options }}" name: "kolla_logs" register: kolla_logs_volume - -- name: Starting heka bootstrap container - kolla_docker: - action: "start_container" - common_options: "{{ docker_common_options }}" - detach: False - environment: - KOLLA_BOOTSTRAP: - KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}" - image: "{{ heka_image_full }}" - labels: - BOOTSTRAP: - name: "bootstrap_heka" - restart_policy: "never" - volumes: - - "{{ node_config_directory }}/heka/:{{ container_config_directory }}/:ro" - - "/etc/localtime:/etc/localtime:ro" - - "kolla_logs:/var/log/kolla/" - when: kolla_logs_volume.changed