Merge "Fix non-idempotent heka bootstrap"
This commit is contained in:
commit
a9b016e43a
@ -4,6 +4,7 @@
|
|||||||
action: "create_volume"
|
action: "create_volume"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "kolla_logs"
|
name: "kolla_logs"
|
||||||
|
register: kolla_logs_volume
|
||||||
|
|
||||||
- name: Starting heka bootstrap container
|
- name: Starting heka bootstrap container
|
||||||
kolla_docker:
|
kolla_docker:
|
||||||
@ -21,3 +22,4 @@
|
|||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/heka/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/heka/:{{ container_config_directory }}/:ro"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
|
when: kolla_logs_volume.changed
|
||||||
|
Loading…
Reference in New Issue
Block a user