c4ebd99030
Change-Id: I053c4a47e657effe25e8d75a3ef55477635729d2
15 lines
366 B
YAML
15 lines
366 B
YAML
---
|
|
- name: Creating log volume
|
|
become: true
|
|
kolla_docker:
|
|
action: "create_volume"
|
|
common_options: "{{ docker_common_options }}"
|
|
name: "kolla_logs"
|
|
|
|
- name: Link kolla_logs volume to /var/log/kolla
|
|
become: true
|
|
file:
|
|
src: "{{ docker_runtime_directory or '/var/lib/docker' }}/volumes/kolla_logs/_data"
|
|
path: /var/log/kolla
|
|
state: link
|