feat(main): keep ansible running

this allows us to run any playbook after the
setup is done
This commit is contained in:
Stephan Lüscher 2024-05-01 08:30:11 +00:00
parent b0470d1610
commit 101652eb31
No known key found for this signature in database
GPG key ID: 445779060FF3D3CF
4 changed files with 13 additions and 8 deletions

View file

@ -17,4 +17,8 @@ RUN pipx install poetry==${POETRY_VERSION}
WORKDIR /ansible
COPY . .
RUN poetry install --no-root
CMD poetry env use .venv/bin/python
CMD poetry env use .venv/bin/python && \
chmod +x entrypoint.sh
# Set entrypoint
ENTRYPOINT [ "/ansible/entrypoint.sh" ]