AETHER-2698 Docker role updates
- Add an ability to configure daemon option
- Add an option to install docker-compose
- Separate task for updating apt repository, and make it conditional
Change-Id: Iafff1635f9af07a9712124f82c2f3b27fb6e557c
diff --git a/handlers/main.yml b/handlers/main.yml
index fa26d2f..819b140 100644
--- a/handlers/main.yml
+++ b/handlers/main.yml
@@ -3,3 +3,9 @@
#
# SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org>
# SPDX-License-Identifier: Apache-2.0
+
+- name: restart docker
+ service:
+ name: docker
+ state: restarted
+ ignore_errors: "{{ ansible_check_mode }}"