My earlier article Quickstart How to authenticate Ansible with Microsoft Azure was for basic and foundation for authentication to azure using Ansible. But I have scenarios with multiple subscriptions to automate multiple azure clouds using Ansible, in that case I will make use of multiple credentia…
Blog posts : "iac"
Quickstart How to authenticate Ansible with Microsoft Azure
This article is first part of Deploy create Virtual Network vNET in Azure cloud using Ansible Here I am going to show multiple ways to authenticate Ansible with Microsoft Azure cloud. Very first method is very simple using azure az cli. Make sure you have installed azure cli application on linux wh…
Deploy create Virtual Network vNET in Azure cloud using Ansible
This is ansible code example for deploying creating vNET (Virtual Network) on Microsoft Azure cloud. This is working basic ansible yaml/yaml script.
Below example shows how it is deployed using ansible-playbook command from the linux using ansible-playbook command.
Download this script here …
Conditionally create resources in Terraform
I had scenario with Terraform to deploy resources based on the value given in variables. This is also an example of count and if condition. When you use count inside the resource block and if value is mentioned 0 that resource will not be deployed. Now I am giving the count number programmatically …
Terraform for_each loop on map example
This article is a second part of a post Hashicorp Terraform dynamic block for_each loop with example, In earlier script I used dynamic block with using for_each loop. In This script I will use same for_each loop without any block inside resource, instead I am using each.value to get the looped inf…
Hashicorp Terraform dynamic block for_each loop with example
I use Terraform IAC (Infrastructure as a code) a lot to design Azure resources, While deploying Azure Resource NSG (Network Security Group), I was defining multiple roles inside NSG, Roles were mentioned inside the main.tf code script file. I wanted roles values to be moved to variables inside v…
Terraform Using one module variable in another module
While working on Azure Terraform IAC infrastructure as a code script Writing and Using Terraform modules, I wanted to pass or use variable from a module to another module, so I will have to define module data once and I can keep reusing it in another modules. Here is the screenshot of my folder hier…
Configure a Azure VM with Desired State Configuration in Automation Account
While working on one of the Azure Automation Accounts project I had to test and provide a demo of Desired State Configuration (DSC) on the Azure Virtual Machine, how it can be useful. There was a client requirment to not to use Group Policy for hardening, but the configuration must be done through D…
Blog Search
Page Views
9710750
Archive
- June 2023 (1)
- May 2023 (9)
- April 2023 (4)
- March 2023 (7)
- February 2023 (1)
- January 2023 (1)
- December 2022 (10)
- November 2022 (15)
- October 2022 (15)
- September 2022 (14)
Comments
-
June 2, 2023 07:24AM
-
StingrayMay 6, 2023 12:36AM
-
StingrayMay 6, 2023 12:11AM
-
DemoncleanerApril 26, 2023 08:38PM
-
April 20, 2023 11:11PM