]> 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>
Wed, 9 May 2018 05:29:33 +0000 (07:29 +0200)
Quick clean on a legacy syntax due to e0a264c7e

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-osd/templates/ceph-osd-run.sh.j2

index 02f6611b989ea9ff0afd88193495f0179740a5d6..58151e65f96d5a9c772caca69fa43478f7ea4635 100644 (file)
@@ -82,8 +82,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 }} \