Skip to content

vijaydurai-git/azureDevops-with-packer-terraform-ansible

Repository files navigation

Azure DevOps with Packer, Terraform, and Ansible

Overview

This repository demonstrates how to leverage Packer, Terraform, and Ansible to build, provision, and deploy infrastructure on Azure. It showcases a CI/CD pipeline that automates the creation of custom VM images, provisioning of infrastructure, and configuration management.

Technologies Used

  • Packer: Automates the creation of machine images.
  • Terraform: Manages infrastructure as code.
  • Ansible: Handles configuration management and application deployment.
  • Azure DevOps: Facilitates CI/CD pipelines.

Architecture

  1. Packer: Builds a custom Azure VM image with necessary software and configurations.
  2. Terraform: Deploys infrastructure using the custom image created by Packer.
  3. Ansible: Configures the deployed infrastructure, ensuring it meets the desired state.

Getting Started

Prerequisites

Ensure you have the following tools installed:

Azure DevOps Pipeline

The repository includes an Azure DevOps pipeline configuration file (azure-pipelines.yml). To set up the pipeline:

  1. Navigate to your Azure DevOps project.
  2. Go to Pipelines > Create Pipeline.
  3. Select GitHub as the source and authenticate.
  4. Choose this repository.
  5. Azure DevOps will automatically detect the azure-pipelines.yml file and configure the pipeline accordingly.

Contributing

Contributions are welcome! Please fork the repository, create a new branch, and submit a pull request with your changes.

License

This project is licensed under the MIT License.

About

azureDevops-with-packer-terraform-ansible

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published