ceph-rbd-mirror; docker fix typo

Signed-off-by: Sébastien Han <seb@redhat.com>
pull/1874/head
Sébastien Han 2017-09-08 17:47:48 +02:00
parent 9e68a17137
commit 7a93d88025
1 changed files with 2 additions and 2 deletions

View File

@ -7,11 +7,11 @@ EnvironmentFile=-/etc/environment
ExecStartPre=-/usr/bin/docker stop ceph-rbd-mirror-{{ ansible_hostname }}
ExecStartPre=-/usr/bin/docker rm ceph-rbd-mirror-{{ ansible_hostname }}
ExecStart=/usr/bin/docker run --rm --net=host \
--memory={{ ceph_rbd_mirorr_docker_memory_limit }} \
--memory={{ ceph_rbd_mirror_docker_memory_limit }} \
{% if docker_version.split('.')[0] | version_compare('13', '>=') -%}
--cpus={{ ceph_rbd_mirror_docker_cpu_limit }} \
{% else -%}
--cpu-quota={{ ceph_rbd_mirorr_docker_cpu_limit * 100000 }} \
--cpu-quota={{ ceph_rbd_mirror_docker_cpu_limit * 100000 }} \
{% endif -%}
{% if not containerized_deployment_with_kv -%}
-v /etc/ceph:/etc/ceph \