Skip to content

Commit

Permalink
added ansible-lint to devcontainer.json
Browse files Browse the repository at this point in the history
  • Loading branch information
luisj1983 committed Sep 11, 2023
1 parent 5518d23 commit dcea187
Showing 1 changed file with 5 additions and 16 deletions.
21 changes: 5 additions & 16 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,14 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/ubuntu
{
"name": "Ubuntu",
"name": "Ubuntu_molecule_installer",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/base:jammy",

"features": {
"ghcr.io/devcontainers-contrib/features/ansible:2": {}
}

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "uname -a",
},

// Configure tool-specific properties.
// "customizations": {},
"postCreateCommand": "pip3 install ansible-lint"

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
}

0 comments on commit dcea187

Please sign in to comment.