Remove use of nested curly braces

This is not valid syntax and should not be used. The inner braces are
not evaluated on future ansible versions leading to incorrect behaviour.

Change-Id: I19354738c101f104a90eed7745e4a0ea0f23ddd3
This commit is contained in:
Jonathan Rosser 2019-09-23 20:36:53 +01:00
parent e7f82ba7ef
commit 290f8f6129
1 changed files with 1 additions and 1 deletions

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: