From 8e8558e0715f45a7f705def38f934597e1294203 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 5 May 2026 12:40:39 +0000 Subject: [PATCH 1/2] Add .devcontainer/devcontainer.json Agent-Logs-Url: https://github.com/Ctrl-Alt-GG/network-services/sessions/6c185bf9-0eb5-41b6-b3f7-0730e9d13957 Co-authored-by: tormachris <1529569+tormachris@users.noreply.github.com> --- .devcontainer/devcontainer.json | 49 +++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..299cb3c --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,49 @@ +// For format details, see https://aka.ms/devcontainer.json. For config options, see the +// README at: https://github.com/devcontainers/templates/tree/main/src/python +{ + "name": "network-services (Ansible)", + "image": "mcr.microsoft.com/devcontainers/python:1-3.12-bookworm", + + "features": { + "ghcr.io/devcontainers/features/common-utils:2": { + "installZsh": true, + "configureZshAsDefaultShell": false, + "upgradePackages": true + }, + "ghcr.io/devcontainers/features/git:1": {}, + "ghcr.io/devcontainers/features/github-cli:1": {} + }, + + // Install Ansible, linters and the collections required by this project. + "postCreateCommand": "pip install --user --no-cache-dir ansible ansible-lint yamllint && ansible-galaxy collection install -r requirements.yaml", + + "remoteUser": "vscode", + + "customizations": { + "vscode": { + "extensions": [ + "redhat.ansible", + "redhat.vscode-yaml", + "github.vscode-github-actions", + "ms-python.python", + "esbenp.prettier-vscode" + ], + "settings": { + "files.associations": { + "*.yaml": "ansible", + "*.yml": "ansible" + }, + "[ansible]": { + "editor.tabSize": 2, + "editor.insertSpaces": true + }, + "[yaml]": { + "editor.tabSize": 2, + "editor.insertSpaces": true + }, + "ansible.validation.lint.enabled": true, + "ansible.validation.lint.path": "ansible-lint" + } + } + } +} From 59bcc9c7b9ee83680433f7211e0e4b210a73182d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 5 May 2026 12:48:40 +0000 Subject: [PATCH 2/2] Drop global yaml->ansible file association Agent-Logs-Url: https://github.com/Ctrl-Alt-GG/network-services/sessions/76ab99a4-3245-4c5f-9735-55200c2c8d6b Co-authored-by: tormachris <1529569+tormachris@users.noreply.github.com> --- .devcontainer/devcontainer.json | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 299cb3c..b75029a 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -29,10 +29,6 @@ "esbenp.prettier-vscode" ], "settings": { - "files.associations": { - "*.yaml": "ansible", - "*.yml": "ansible" - }, "[ansible]": { "editor.tabSize": 2, "editor.insertSpaces": true