kolla-ansible/ansible/roles/karbor/tasks
Radosław Piliszek 6a737b1968 Fix handling of docker restart policy
Docker has no restart policy named 'never'. It has 'no'.
This has bitten us already (see [1]) and might bite us again whenever
we want to change the restart policy to 'no'.

This patch makes our docker integration honor all valid restart policies
and only valid restart policies.
All relevant docker restart policy usages are patched as well.

I added some FIXMEs around which are relevant to kolla-ansible docker
integration. They are not fixed in here to not alter behavior.

[1] https://review.opendev.org/667363

Change-Id: I1c9764fb9bbda08a71186091aced67433ad4e3d6
Signed-off-by: Radosław Piliszek <radoslaw.piliszek@gmail.com>
2019-07-18 13:39:06 +00:00
..
bootstrap_service.yml Fix handling of docker restart policy 2019-07-18 13:39:06 +00:00
bootstrap.yml During deploy, always sync DB 2019-07-12 08:56:54 +00:00
check.yml Enable sanity checks from kolla-ansible 2017-03-09 10:37:06 +00:00
config.yml Simplify handler conditionals 2019-06-27 15:57:19 +00:00
deploy.yml Use include_tasks instead of include 2018-07-25 23:57:22 +08:00
loadbalancer.yml Refactor haproxy config (split by service) V2.0 2018-09-26 03:30:38 -07:00
main.yml Use include_tasks instead of include 2018-07-25 23:57:22 +08:00
precheck.yml Use become for all docker tasks 2019-06-06 19:04:58 +01:00
pull.yml Specify 'become' for all tasks that use kolla_docker module 2018-06-08 12:39:24 +00:00
reconfigure.yml Use include_tasks instead of include 2018-07-25 23:57:22 +08:00
register.yml Use become for all docker tasks 2019-06-06 19:04:58 +01:00
stop.yml Support stop specific containers 2018-11-26 08:07:01 +00:00
upgrade.yml Use include_tasks instead of include 2018-07-25 23:57:22 +08:00