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.formatOnSave": true,
"editor.formatOnPaste": true, "editor.formatOnPaste": true,
"files.associations": { "files.associations": {
"**/ansible/*.yml": "ansible",
"**/ansible/**/*.yml": "ansible" "**/ansible/**/*.yml": "ansible"
}, },
"[ansible]": { "[ansible]": {

View file

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