summaryrefslogtreecommitdiffstats
path: root/ansible/test/roles/prepare-docker-dind
diff options
context:
space:
mode:
authorSamuli Silvius <s.silvius@partner.samsung.com>2019-05-30 15:22:56 +0000
committerGerrit Code Review <gerrit@onap.org>2019-05-30 15:22:56 +0000
commit1827d9c464e55037d4de159ea8461fd660cd37fa (patch)
tree9452b8b0b0d665ecb8b2d5e9f6ee34bdb431b91e /ansible/test/roles/prepare-docker-dind
parenta83ae84c589effcd690180347294ceaa677c2c7b (diff)
parent810c950a6d80ec288a28d7cec7ef997db75699e3 (diff)
Merge "prepare-docker-dind: make docker start optional"
Diffstat (limited to 'ansible/test/roles/prepare-docker-dind')
-rw-r--r--ansible/test/roles/prepare-docker-dind/defaults/main.yml3
-rw-r--r--ansible/test/roles/prepare-docker-dind/handlers/main.yml1
2 files changed, 4 insertions, 0 deletions
diff --git a/ansible/test/roles/prepare-docker-dind/defaults/main.yml b/ansible/test/roles/prepare-docker-dind/defaults/main.yml
new file mode 100644
index 00000000..2489014e
--- /dev/null
+++ b/ansible/test/roles/prepare-docker-dind/defaults/main.yml
@@ -0,0 +1,3 @@
+---
+# Variable specifying if we should install docker, or only prepare for it
+start_docker: true
diff --git a/ansible/test/roles/prepare-docker-dind/handlers/main.yml b/ansible/test/roles/prepare-docker-dind/handlers/main.yml
index 698e3d3f..cfea7733 100644
--- a/ansible/test/roles/prepare-docker-dind/handlers/main.yml
+++ b/ansible/test/roles/prepare-docker-dind/handlers/main.yml
@@ -3,3 +3,4 @@
name: docker
enabled: true
state: restarted
+ when: start_docker == true