ansible-role-container-regi.../tasks
Bogdan Dobrelya 9fcedac3b9 Improve docker/distribution reload handlers
Move the wait-for-registry-up loop and systemd daemon reloading
commands behind the user-faced "restart docker(-registry)"
handlers. So users may just refer to it w/o manual daemon reload
tasks and w/o knowing of other advanced sub-steps details. But
those handlers may still be notified directly as well.

Add a fixed delay of a 10s for the docker service reload handler,
which is nice to have for the loaded systems running that command
way too long.

Add wait-for-docker-service-up loop into the docker service
reload handler for the better failures detection.

Simplify future support on CoreOS/atomic distributions
(which require reloading docker and socket in particular order)

Based on
https://github.com/kubernetes-incubator/kubespray/blob/ \
  810596c6d8f1e13afa934ddeef996d4f42b29890/roles/docker/handlers/main.yml

Depends-On: I26cc07aa05912c3e84d59003686eae210e924a16
Change-Id: I28e8c682005e77b87a347f4d2a2dff219fab488c
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
2018-07-16 16:52:55 +03:00
..
docker-distribution.yml Improve docker/distribution reload handlers 2018-07-16 16:52:55 +03:00
docker-update.yml Handle Docker rpm updates 2018-05-20 18:59:16 +00:00
docker.yml Improve docker/distribution reload handlers 2018-07-16 16:52:55 +03:00
main.yml Make improvements to role 2018-04-16 15:39:56 -04:00