Merge "Remove use of nested curly braces"

This commit is contained in:
Zuul 2019-10-09 18:32:52 +00:00 committed by Gerrit Code Review
commit 0aa400123a

View File

@ -29,7 +29,7 @@
- name: Set default bind mounts (bind var/log)
set_fact:
lxc_default_bind_mounts: '{{ lxc_default_bind_mounts | default([{"bind_dir_path": "/var/log", "mount_path": "/openstack/log/{{ inventory_hostname }}"}]) }}'
lxc_default_bind_mounts: '{{ lxc_default_bind_mounts | default([{"bind_dir_path": "/var/log", "mount_path": "/openstack/log/" ~ inventory_hostname}]) }}'
when:
- default_bind_mount_logs | bool
tags: