efb8b8bd27
In the Train cycle, Kolla Ansible added support for docker_custom_config, and writes out configuration to /etc/docker/daemon.json. This will conflict with Kayobe's configuration of that file, and changes made by kayobe will be reversed when kolla-ansible bootstrap-servers is run. This change uses the new variable to pass daemon.json configuration through to kolla ansible. Because the ordering has changed, we also need to separate out the devicemapper setup and run this prior to starting docker. Change-Id: Idc3fa9fefd8242ef9db76d4d773885e3594b453a Depends-On: https://review.opendev.org/691001 Story: 2006764 Task: 37277
14 lines
528 B
YAML
14 lines
528 B
YAML
---
|
|
- name: Ensure the docker storage volume is converted to a thinpool
|
|
command: >
|
|
lvconvert -y --zero n -c 512K
|
|
--thinpool {{ docker_storage_volume_group }}/{{ docker_storage_volume_thinpool }}
|
|
--poolmetadata {{ docker_storage_volume_group }}/{{ docker_storage_volume_thinpool_meta }}
|
|
become: True
|
|
|
|
- name: Ensure the docker storage metadata profile is applied
|
|
command: >
|
|
lvchange --metadataprofile docker-thinpool
|
|
{{ docker_storage_volume_group }}/{{ docker_storage_volume_thinpool }}
|
|
become: True
|