Skip to content

Commit

Permalink
feat(main): install ansible collections
Browse files Browse the repository at this point in the history
  • Loading branch information
tepene committed May 1, 2024
1 parent a885686 commit 8d0fe54
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .devcontainer/install-dev-tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ""
Expand Down
1 change: 1 addition & 0 deletions ansible/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]
8 changes: 8 additions & 0 deletions ansible/collections/requirements.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 8d0fe54

Please sign in to comment.