ceph-ansible/roles/ceph-container-common/tasks
Guillaume Abrioux 3e262e072b containers: use --cpus instead --cpu-quota
When using docker 1.13.1, the current condition:

```
{% if (container_binary == 'docker' and ceph_docker_version.split('.')[0] is version_compare('13', '>=')) or container_binary == 'podman' -%}
```

is wrong because it compares the first digit (1) whereas it should
compare the second one.
It means we always use `--cpu-quota` although documentation recommend
using `--cpus` when docker version is 1.13.1 or higher.

From the doc:
> --cpu-quota=<value>	Impose a CPU CFS quota on the container. The number of
> microseconds per --cpu-period that the container is limited to before
> throttled. As such acting as the effective ceiling.
> If you use Docker 1.13 or higher, use --cpus instead.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2020-01-16 13:51:43 -05:00
..
fetch_image.yml ansible: use 'bool' filter on boolean conditionals 2019-06-06 10:21:17 +02:00
main.yml containers: use --cpus instead --cpu-quota 2020-01-16 13:51:43 -05:00
prerequisites.yml roles: introduce `ceph-container-engine` role 2019-05-22 13:02:10 +02:00
registry.yml container/dashboard: run the registry auth task 2019-10-22 23:23:32 +02:00
release.yml Add octopus release 2019-08-29 14:05:13 -04:00