From ab21f4d169ab84b04f60d53a87201e73599a69c5 Mon Sep 17 00:00:00 2001 From: Stig Telfer Date: Sat, 2 Apr 2016 20:55:17 +0100 Subject: [PATCH] Define empty default objects for docker package management. On CoreOS where there is no package management, perform zero-trip loops instead of throwing an exception for iterating over a member of an undefined variable. --- roles/docker/defaults/main.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/roles/docker/defaults/main.yml b/roles/docker/defaults/main.yml index 685bc57cd..196e59b4c 100644 --- a/roles/docker/defaults/main.yml +++ b/roles/docker/defaults/main.yml @@ -1 +1,10 @@ docker_version: 1.10 + +docker_package_info: + pkgs: + +docker_repo_key_info: + repo_keys: + +docker_repo_info: + repos: