mirror of
https://github.com/ublue-os/forge.git
synced 2025-04-18 20:43:43 +03:00
feat(main): install ansible collections
This commit is contained in:
parent
a88568658c
commit
8d0fe541b0
|
@ -35,11 +35,11 @@ echo -e "${YELLOW}Installing project dependencies${ENDCOLOR}"
|
||||||
echo ""
|
echo ""
|
||||||
poetry install --no-root -C /workspaces/forge/ansible
|
poetry install --no-root -C /workspaces/forge/ansible
|
||||||
|
|
||||||
# Install ansible dependencies
|
Install ansible dependencies
|
||||||
# echo ""
|
echo ""
|
||||||
# echo -e "${YELLOW}Installing ansible dependencies${ENDCOLOR}"
|
echo -e "${YELLOW}Installing ansible dependencies${ENDCOLOR}"
|
||||||
# echo ""
|
echo ""
|
||||||
# ansible-galaxy collection install -r /workspaces/forge/setup/ansible/collections/requirements.yml
|
ansible-galaxy collection install -r /workspaces/forge/ansible/collections/requirements.yml
|
||||||
|
|
||||||
# Finish
|
# Finish
|
||||||
echo ""
|
echo ""
|
||||||
|
|
|
@ -19,6 +19,7 @@ COPY . .
|
||||||
RUN poetry install --no-root
|
RUN poetry install --no-root
|
||||||
CMD poetry env use .venv/bin/python && \
|
CMD poetry env use .venv/bin/python && \
|
||||||
chmod +x entrypoint.sh
|
chmod +x entrypoint.sh
|
||||||
|
RUN ansible-galaxy collection install -r collections/requirements.yml
|
||||||
|
|
||||||
# Set entrypoint
|
# Set entrypoint
|
||||||
ENTRYPOINT [ "/ansible/entrypoint.sh" ]
|
ENTRYPOINT [ "/ansible/entrypoint.sh" ]
|
8
ansible/collections/requirements.yml
Normal file
8
ansible/collections/requirements.yml
Normal 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
|
Loading…
Reference in a new issue