bodzio4749 / ansible-devcontainer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Devcontainer for Ansible

THIS PROJECT IS ARCHIVED

See hspaans/ansible-playbook-template as an alternative.

Using within you project

Add .devcontainer/devcontainer.json to your repository.

{
  "image": "ghcr.io/hspaans/ansible-devcontainer:latest",
  "name": "Ansible",
  "settings": {
    "terminal.integrated.shell.linux": "/bin/bash"
  },
  "appPort": [],
  "postCreateCommand": "ansible-galaxy install -r roles/requirements.yml",
  "remoteUser": "vscode",
  "extensions": [
    "github.vscode-pull-request-github",
    "ms-python.python",
    "redhat.vscode-yaml"
  ]
}

Versions

The container is based on LTS distribution versions with official support and fall within N and N-2. The latest-tag is an experimental tag to test future releases. See Ansible: Release and Maintenance for the upstream maintenance and release matrix.

Platform Version Image
Ansible 2.8 hspaans/ansible-devcontainer:2.8
Ansible 2.9 hspaans/ansible-devcontainer:2.9
Ansible Base 2.10 hspaans/ansible-devcontainer:2.10
Ansible Core 2.11 hspaans/ansible-devcontainer:latest

About

License:MIT License


Languages

Language:Dockerfile 100.0%