Skip to content

Instantly share code, notes, and snippets.

@scottharwell
Created December 23, 2021 23:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scottharwell/853b56110744beaf830b3ffb3bdef179 to your computer and use it in GitHub Desktop.
Save scottharwell/853b56110744beaf830b3ffb3bdef179 to your computer and use it in GitHub Desktop.
VSCode dev container definition for Ansible development
{
"extensions": [
"redhat.ansible",
"richie5um2.vscode-sort-json",
"zainchen.json"
],
"forwardPorts": [],
"image": "docker-registry.gso.harwell.me/scottharwell/vscode-ansible:latest",
"mounts": [
"source=${localEnv:HOME}/.ssh,target=/home/vscode/.ssh,type=bind",
"source=${localEnv:HOME}/.gitconfig,target=/home/vscode/.gitconfig,type=bind"
],
"remoteUser": "vscode",
"settings": {
"diffEditor.renderSideBySide": true,
"editor.suggestSelection": "first",
"editor.tabSize": 4,
"editor.wordWrap": "bounded",
"editor.wordWrapColumn": 200,
"explorer.confirmDelete": false,
"explorer.confirmDragAndDrop": false,
"files.exclude": {
"**/.classpath": true,
"**/.DS_Store": true,
"**/.factorypath": true,
"**/.git": true,
"**/.project": true,
"**/.settings": true,
"**/*.js": {
"when": "$(basename).ts"
},
"**/*.js.map": true
},
"telemetry.telemetryLevel": "off",
"terminal.integrated.profiles.linux": {
"zsh (login)": {
"args": [
"-l"
],
"path": "zsh"
}
},
"workbench.colorTheme": "Abyss"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment