summaryrefslogtreecommitdiffstats
path: root/ansible/roles/docker/molecule/default/molecule.yml
diff options
context:
space:
mode:
authorMichal Zegan <m.zegan@samsung.com>2019-05-22 14:50:23 +0200
committerMichal Zegan <m.zegan@samsung.com>2019-05-24 11:49:10 +0200
commit958d874e52843aa5b1857fddd79a380167e3ee5a (patch)
tree8dde000716cd0ca7d56fd6939fcf307bb0e47207 /ansible/roles/docker/molecule/default/molecule.yml
parent810c950a6d80ec288a28d7cec7ef997db75699e3 (diff)
Modify docker role to use dind
This modifies the docker role to use dind. Note that it now uses pepare-docker-dind role, but *disables* start of docker. Change-Id: I55ac8d1f69531ba7496c34f990818b894a7d02a5 Issue-ID: OOM-1864 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
Diffstat (limited to 'ansible/roles/docker/molecule/default/molecule.yml')
-rw-r--r--ansible/roles/docker/molecule/default/molecule.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/ansible/roles/docker/molecule/default/molecule.yml b/ansible/roles/docker/molecule/default/molecule.yml
index d1f67d75..1e800ee9 100644
--- a/ansible/roles/docker/molecule/default/molecule.yml
+++ b/ansible/roles/docker/molecule/default/molecule.yml
@@ -13,9 +13,11 @@ platforms:
command: ${MOLECULE_DOCKER_COMMAND:-""}
groups:
- infrastructure
+ networks:
+ - name: docker_install
+ purge_networks: true
volumes:
- - /sys/fs/cgroup:/sys/fs/cgroup:ro
- - /dev:/dev:ro
+ - /var/lib/docker
provisioner:
name: ansible
lint: