Skip to content

Commit a948894

Browse files
committed
Include internal Kayobe roles/collections in PATHs
Allows us to use these roles in hooks, e.g. pre host configures
1 parent 5ff3105 commit a948894

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker/kayobe/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,5 +93,5 @@ RUN --mount=type=ssh,uid=1000 --mount=type=tmpfs,target=/tmp/src --mount=type=bi
9393
# Symlinking to /src would create a link within the empty directory
9494
RUN sudo rmdir /src || true
9595

96-
ENV ANSIBLE_ROLES_PATH="/stack/.ansible/kayobe-automation-roles:~/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles"
97-
ENV ANSIBLE_COLLECTIONS_PATH="/stack/.ansible/kayobe-automation-collections:~/.ansible/collections:/usr/share/ansible/collections"
96+
ENV ANSIBLE_ROLES_PATH="/stack/.ansible/kayobe-automation-roles:/stack/kayobe-automation-env/src/kayobe/ansible/roles:~/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles"
97+
ENV ANSIBLE_COLLECTIONS_PATH="/stack/.ansible/kayobe-automation-collections:/stack/kayobe-automation-env/src/kayobe/ansible/collections:~/.ansible/collections:/usr/share/ansible/collections"

0 commit comments

Comments
 (0)