feat(main): install ansible collections

This commit is contained in:
Stephan Lüscher 2024-05-01 16:26:23 +00:00
parent a88568658c
commit 8d0fe541b0
No known key found for this signature in database
GPG key ID: 445779060FF3D3CF
3 changed files with 14 additions and 5 deletions

View file

@ -35,11 +35,11 @@ echo -e "${YELLOW}Installing project dependencies${ENDCOLOR}"
echo ""
poetry install --no-root -C /workspaces/forge/ansible
# Install ansible dependencies
# echo ""
# echo -e "${YELLOW}Installing ansible dependencies${ENDCOLOR}"
# echo ""
# ansible-galaxy collection install -r /workspaces/forge/setup/ansible/collections/requirements.yml
Install ansible dependencies
echo ""
echo -e "${YELLOW}Installing ansible dependencies${ENDCOLOR}"
echo ""
ansible-galaxy collection install -r /workspaces/forge/ansible/collections/requirements.yml
# Finish
echo ""

View file

@ -19,6 +19,7 @@ COPY . .
RUN poetry install --no-root
CMD poetry env use .venv/bin/python && \
chmod +x entrypoint.sh
RUN ansible-galaxy collection install -r collections/requirements.yml
# Set entrypoint
ENTRYPOINT [ "/ansible/entrypoint.sh" ]

View file

@ -0,0 +1,8 @@
---
collections:
- name: ansible.posix
version: 1.5.4
- name: community.general
version: 8.6.0
- name: containers.podman
version: 1.13.0