This change allows overriding of docker version to be installed
when calling prepare-docker-dind role.
It also enables downgrading, allowing the
given version to be taken into account. Previously
the specified version was completely ignored.
Change-Id: Iee3827564f130498e9fad69ddea55278346b7cfe
Issue-ID: OOM-1906
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
 ---
 # Variable specifying if we should install docker, or only prepare for it
 start_docker: true
+#The version of docker to install
+docker_version: 18.09.5
 
   package:
     name: "docker-ce-{{ docker_version }}"
     state: present
+    allow_downgrade: true
   notify: Restart docker
 
+++ /dev/null
----
-#The version of docker to install
-docker_version: 18.09.5