From 290f8f61293d80bb2519c310a2ff9171f6888ca8 Mon Sep 17 00:00:00 2001 From: Jonathan Rosser Date: Mon, 23 Sep 2019 20:36:53 +0100 Subject: [PATCH] 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 --- playbooks/common-tasks/os-lxc-container-setup.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/common-tasks/os-lxc-container-setup.yml b/playbooks/common-tasks/os-lxc-container-setup.yml index d51aef68dd..80df900b3e 100644 --- a/playbooks/common-tasks/os-lxc-container-setup.yml +++ b/playbooks/common-tasks/os-lxc-container-setup.yml @@ -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: