]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
osd: clean legacy syntax in ceph-osd-run.sh.j2
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 9 May 2018 01:10:30 +0000 (03:10 +0200)
committerSébastien Han <seb@redhat.com>
Fri, 11 May 2018 07:03:10 +0000 (00:03 -0700)
Quick clean on a legacy syntax due to e0a264c7e

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 7b387b506a21fd71eedd7aabab9f114353b63abc)
Signed-off-by: Sébastien Han <seb@redhat.com>
roles/ceph-osd/templates/ceph-osd-run.sh.j2

index 0a7482294006d68847ec91e9f2d330fec1d979a3..fefce935073ebe012212f9a3f7c507a95c96b6a4 100644 (file)
@@ -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 }} \