mirror of https://github.com/ceph/ceph-ansible.git
ceph-rbd-mirror; docker fix typo
Signed-off-by: Sébastien Han <seb@redhat.com>pull/1874/head
parent
9e68a17137
commit
7a93d88025
|
@ -7,11 +7,11 @@ EnvironmentFile=-/etc/environment
|
||||||
ExecStartPre=-/usr/bin/docker stop ceph-rbd-mirror-{{ ansible_hostname }}
|
ExecStartPre=-/usr/bin/docker stop ceph-rbd-mirror-{{ ansible_hostname }}
|
||||||
ExecStartPre=-/usr/bin/docker rm ceph-rbd-mirror-{{ ansible_hostname }}
|
ExecStartPre=-/usr/bin/docker rm ceph-rbd-mirror-{{ ansible_hostname }}
|
||||||
ExecStart=/usr/bin/docker run --rm --net=host \
|
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', '>=') -%}
|
{% if docker_version.split('.')[0] | version_compare('13', '>=') -%}
|
||||||
--cpus={{ ceph_rbd_mirror_docker_cpu_limit }} \
|
--cpus={{ ceph_rbd_mirror_docker_cpu_limit }} \
|
||||||
{% else -%}
|
{% else -%}
|
||||||
--cpu-quota={{ ceph_rbd_mirorr_docker_cpu_limit * 100000 }} \
|
--cpu-quota={{ ceph_rbd_mirror_docker_cpu_limit * 100000 }} \
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
{% if not containerized_deployment_with_kv -%}
|
{% if not containerized_deployment_with_kv -%}
|
||||||
-v /etc/ceph:/etc/ceph \
|
-v /etc/ceph:/etc/ceph \
|
||||||
|
|
Loading…
Reference in New Issue