Skip to content

Commit

Permalink
Merge pull request #139 from arillso/fixed-missing-collection
Browse files Browse the repository at this point in the history
Fixed Collection Path
  • Loading branch information
sbaerlocher authored Feb 4, 2022
2 parents 766a493 + 7e9748a commit dfaf908
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ RUN set -eux \
&& find /usr/lib/ -name '__pycache__' -print0 | xargs -0 -n1 rm -rf \
&& find /usr/lib/ -name '*.pyc' -print0 | xargs -0 -n1 rm -rf

RUN ansible-galaxy collection install community.docker community.general
RUN ansible-galaxy collection install community.docker community.general \
&& mkdir -p /usr/share/ansible \
&& ln -s /root/.ansible/collections/ /usr/share/ansible/collections

CMD ["sh", "-c", "cd ${WORKING_DIRECTORY}; PY_COLORS=1 ANSIBLE_FORCE_COLOR=1 molecule ${COMMAND:-test} --scenario-name ${SCENARIO:-default}"]

0 comments on commit dfaf908

Please sign in to comment.