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:
parent
e7f82ba7ef
commit
290f8f6129
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user