diff options
author | Mateusz Pilat <m.pilat@partner.samsung.com> | 2019-05-08 13:33:46 +0200 |
---|---|---|
committer | Mateusz Pilat <m.pilat@partner.samsung.com> | 2019-05-09 15:53:02 +0200 |
commit | b0f546ad82bcb427bc5f724150063d239f3a306d (patch) | |
tree | 7fea924e8bd1c77c485bd2ac3c4fd78e845a455d /ansible/test/molecule-docker | |
parent | 029b36f9f0faedc18b032ebb8c598118ff80f67b (diff) |
Extending molecule test to playbooks
Review should also execute molecule tests for ansible/test/play-xxx when anything in /ansible/test has been changed
Change-Id: I9a106a1c141b1053db6ac892e2dcecd4e646fd5b
Issue-ID: OOM-1801
Signed-off-by: Mateusz Pilat <m.pilat@partner.samsung.com>
Diffstat (limited to 'ansible/test/molecule-docker')
-rw-r--r-- | ansible/test/molecule-docker/Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/test/molecule-docker/Dockerfile b/ansible/test/molecule-docker/Dockerfile index 61817317..5c2343c9 100644 --- a/ansible/test/molecule-docker/Dockerfile +++ b/ansible/test/molecule-docker/Dockerfile @@ -14,7 +14,7 @@ RUN if [ ${USER_ID:-0} -ne 0 ] && [ ${GROUP_ID:-0} -ne 0 ]; then \ addgroup -g ${GROUP_ID} ${DOCKER_USER} && \ adduser -D -u ${USER_ID} -G ${DOCKER_USER} ${DOCKER_USER} && \ # Add user to same docker group as in docker_host to be able to use docker driver as sudo - groupadd docker-host -g ${DOCKER_GROUP_ID} && \ + groupadd docker-host -f -g ${DOCKER_GROUP_ID} && \ usermod -aG ${DOCKER_GROUP_ID} ${DOCKER_USER} \ ;fi |