Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
.devcontainer Update Docker extension ID, formatting Jul 10, 2019
.npmignore Added azure-ansible dev container May 17, 2019 Update command name for adding container defintion w/1.36 release Jun 28, 2019

Azure Ansible


Get going quickly with Ansible in Azure. Includes Ansible, the Azure CLI, the Docker CLI (for testing locally), Node.js for Cloud Shell, and related extensions and dependencies.

Metadata Value
Contributors Carlos Mendible
Definition type Dockerfile
Languages, platforms Ansible

Using this definition with an existing folder

While technically optional, this definition includes the Ansible extension. You may need an Azure account for your operations. You can create a free trial account here and find out more about using Ansible with Azure here. If you plan to use the Azure Cloud Shell for all of your Ansible operations, you can comment out the installation of the Docker CLI in .devcontainer/Dockerfile. Conversely, if you do not plan to use Cloud Shell, you can comment out the installation of Node.js. The definition has been setup so you can do either as it makes sense.

Next, follow these steps:

  1. If this is your first time using a development container, please follow the getting started steps to set up your machine.

  2. To use VS Code's copy of this definition:

    1. Start VS Code and open your project folder.
    2. Press F1 select and Remote-Containers: Add Development Container Configuration Files... from the command palette.
    3. Select the Azure Ansible definition.
  3. To use latest-and-greatest copy of this definition from the repository:

    1. Clone this repository.
    2. Copy the contents of containers/azure-ansible/.devcontainer to the root of your project folder.
    3. Start VS Code and open your project folder.
  4. After following step 2 or 3, the contents of the .devcontainer folder in your project can be adapted to meet your needs.

  5. Finally, press F1 and run Remote-Containers: Reopen Folder in Container to start using the definition.


Copyright (c) Microsoft Corporation. All rights reserved.

Licensed under the MIT License. See LICENSE.

You can’t perform that action at this time.