mirror of
https://github.com/ublue-os/forge.git
synced 2025-07-04 08:45:45 +03:00
chore(devcontainer): add tools for ansible development
This commit is contained in:
parent
5b5fbd6a56
commit
1fa6f52077
2 changed files with 44 additions and 5 deletions
|
@ -22,6 +22,10 @@ echo ""
|
|||
echo -e "${YELLOW}Installing additional tools${ENDCOLOR}"
|
||||
echo ""
|
||||
sudo apk add git-extras --repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing
|
||||
sudo apk add py3-pip
|
||||
python3 -m pip install --user pipx
|
||||
python3 -m pipx ensurepath
|
||||
pipx install poetry
|
||||
|
||||
## Install podman remote
|
||||
echo ""
|
||||
|
@ -41,6 +45,18 @@ echo -e "${YELLOW}Configuring git${ENDCOLOR}"
|
|||
echo ""
|
||||
git config --local commit.template .gitmessage
|
||||
|
||||
# Install python dependencies
|
||||
echo ""
|
||||
echo -e "${YELLOW}Installing python dependencies${ENDCOLOR}"
|
||||
echo ""
|
||||
poetry install -C /workspaces/forge/ansible
|
||||
|
||||
# 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 ""
|
||||
echo -e "${GREEN}Done. Happy coding!${ENDCOLOR}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue