Merge "Ensure directory exists before trying to use it in a container"

This commit is contained in:
Zuul 2018-11-23 17:14:23 +00:00 committed by Gerrit Code Review
commit 6d2200d5b8

View File

@ -148,7 +148,13 @@ outputs:
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
metadata_settings:
get_attr: [NovaPlacementBase, role_data, metadata_settings]
host_prep_tasks: {get_attr: [NovaPlacementLogging, host_prep_tasks]}
host_prep_tasks:
- {get_attr: [NovaPlacementLogging, host_prep_tasks]}
- name: create persistent directory
file:
path: /var/lib/nova
state: directory
setype: svirt_sandbox_file_t
upgrade_tasks:
- when: step|int == 0
tags: common