From ec8db263a1bfae1ccbde658185a4562079dbae4a Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Wed, 9 May 2018 03:10:30 +0200 Subject: [PATCH] osd: clean legacy syntax in ceph-osd-run.sh.j2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Quick clean on a legacy syntax due to e0a264c7e Signed-off-by: Guillaume Abrioux (cherry picked from commit 7b387b506a21fd71eedd7aabab9f114353b63abc) Signed-off-by: Sébastien Han --- roles/ceph-osd/templates/ceph-osd-run.sh.j2 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/roles/ceph-osd/templates/ceph-osd-run.sh.j2 b/roles/ceph-osd/templates/ceph-osd-run.sh.j2 index 0a7482294..fefce9350 100644 --- a/roles/ceph-osd/templates/ceph-osd-run.sh.j2 +++ b/roles/ceph-osd/templates/ceph-osd-run.sh.j2 @@ -75,8 +75,7 @@ expose_partitions "$1" {% if ansible_distribution == 'Ubuntu' -%} --security-opt apparmor:unconfined \ {% endif -%} - {% if not containerized_deployment_with_kv -%} - {% else -%} + {% if containerized_deployment_with_kv -%} -e KV_TYPE={{ kv_type }} \ -e KV_IP={{ kv_endpoint }} \ -e KV_PORT={{ kv_port }} \ -- 2.47.3