summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ansible/roles/docker/molecule/default/molecule.yml1
-rw-r--r--ansible/test/images/docker/centos7/Dockerfile2
2 files changed, 2 insertions, 1 deletions
diff --git a/ansible/roles/docker/molecule/default/molecule.yml b/ansible/roles/docker/molecule/default/molecule.yml
index 9a87184f..7754d273 100644
--- a/ansible/roles/docker/molecule/default/molecule.yml
+++ b/ansible/roles/docker/molecule/default/molecule.yml
@@ -17,6 +17,7 @@ platforms:
container: docker
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
+ - /dev:/dev:ro
provisioner:
name: ansible
lint:
diff --git a/ansible/test/images/docker/centos7/Dockerfile b/ansible/test/images/docker/centos7/Dockerfile
index b36d58cb..67e3fb93 100644
--- a/ansible/test/images/docker/centos7/Dockerfile
+++ b/ansible/test/images/docker/centos7/Dockerfile
@@ -3,7 +3,7 @@ FROM centos/systemd
RUN yum -y update && yum clean all
RUN yum -y install openssh-server sudo openssh-clients \
- epel-release python-docker-py iproute
+ epel-release python-docker-py iproute e2fsprogs
RUN systemctl enable sshd.service
VOLUME ["/run"]