chore(devcontainer): make sure vscode ansible is working in subdirectories

This commit is contained in:
Stephan Lüscher 2023-05-01 16:13:52 +00:00
parent 1fa6f52077
commit e63edcadc9
No known key found for this signature in database
GPG key ID: 445779060FF3D3CF
2 changed files with 5 additions and 6 deletions

View file

@ -47,7 +47,6 @@
"editor.formatOnSave": true,
"editor.formatOnPaste": true,
"files.associations": {
"**/ansible/*.yml": "ansible",
"**/ansible/**/*.yml": "ansible"
},
"[ansible]": {

View file

@ -49,13 +49,13 @@ git config --local commit.template .gitmessage
echo ""
echo -e "${YELLOW}Installing python dependencies${ENDCOLOR}"
echo ""
poetry install -C /workspaces/forge/ansible
poetry install -C /workspaces/forge/setup/ansible
# Install ansible dependencies
echo ""
echo -e "${YELLOW}Installing ansible dependencies${ENDCOLOR}"
echo ""
ansible-galaxy collection install -r /workspaces/forge/ansible/collections/requirements.yml
# echo ""
# echo -e "${YELLOW}Installing ansible dependencies${ENDCOLOR}"
# echo ""
# ansible-galaxy collection install -r /workspaces/forge/setup/ansible/collections/requirements.yml
# Finish
echo ""