Skip to content

Commit fde43ff

Browse files
authored
oci-env LDAP and Keycloak test fix (#2406)
pre-create ~/.ansible/roles and add perms
1 parent 2b266b0 commit fde43ff

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

profiles/base/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,9 @@ RUN bash profiles/base/setup_venv.sh
2525
# that doesn't create /run/postgresql directory
2626
RUN mkdir -p /run/postgresql && chown postgres:postgres /run/postgresql
2727

28+
# fixes FileNotFoundError: [Errno 2] No such file or directory: \'/.ansible/roles\'
29+
# for collection import galaxy-importer
30+
RUN mkdir -p ~/.ansible/roles/
31+
RUN chmod -R 775 ~/.ansible
32+
2833
WORKDIR /

0 commit comments

Comments
 (0)