create Azure release pipeline using ansible - azure-devops

Whether ansible can be used to create release and build pipelines in azure is there any existing or custom modules for creating pipelines?

The answer is yes. Ansible can be used in azure devops pipelines.
You can click here to install Ansible extension in your azure devops organization. After it is installed, you can use Ansible task in the pipeline to run playbook.
To get started with azure devops pipeline. You can check out this document.
You can check below detailed tutorial about using ansible in azure devops pipeline.
Automating Infrastructure Deployments in the Cloud with Ansible and Azure Pipelines

Related

Can I reuse my Azure DevOps agents with Azure Automation?

My VMs all have Azure DevOps agents installed on them to automate deployments. We have a need to automate runbook tasks on these agents as well, and are investigating Azure Automation as a solution.
However, I would prefer not to have to install two agents on every VM. Is there a way to have Azure Devops and Azure Automate share an agent on a single VM?
I suppose that you could test to create a combination with Azure DevOps and Azure Automation.
And the key to for the integration is creating a service connection from Azure DevOps to Azure Resource Manager.
And you could try to finish your Azure Automation Deployment with Azure Powershell task in a release pipeline.
And you could refer to this blog for more detailed instructions. USING AZURE DEVOPS PIPELINES WITH AZURE AUTOMATION

is it possible to create azure build pipelines using terraform code?

I want to Create Azure Build pipelines using Terraform code, but not able to find any proper documentation on this. Is it possible ?
I tried terraform documentation, expecting some documentation or video guide how to create Azure build pipelines using terraform code
is it possible to create azure build pipelines using terraform code?
The answer is impossible.
Hashicorp doesn't have a terraform provider for Azure DevOps now.
If you check the azurerm provider, only azurerm_data_factory_pipeline is available, no Azure DevOps build pipeline.
You should look at the Azure DevOps provider From Microsoft. It does contain a resource for build definitions but you will need to pass it the path to an existing YAML file, you can't create the YAML from Terraform.
If you have a "templated" YAML then you could create a process that commits the YAML to a repo then use Terraform to set up the definition.

Can Azure DevOps pipeline run make targets?

In our project we used GitHub actions to run make targets for CI pipeline. We had dedicated runners used in Github actions to run make targets
Now, we migrated from GitHub actions to Azure DevOps pipeline
Does Azure DevOps pipeline allow/support running make targets?

How can I export variable groups from Azure Devops

I need to export variable groups from one azure devops to another azure devops project. How can I do this?
The UI of Azure DevOps doesn't provide such a functionality. This blog explains how to do it using Azure CLI and the Azure DevOps extension for Azure CLI. If you're new to the (Azure DevOps extension for) Azure CLI, then please read my blog to learn how set it up.

Jenkins on premises to Azure DevOps migration

How to migrate on premises Jenkins jobs to Azure DevOps? Is any plugins available?
I know manually how we can create Azure DevOps pipeline.
There is some available guidance from Microsoft on migrating from Jenkins to YAML builds in Azure Pipelines, but there are no plug-ins or tools that will automate this for you at the moment.
There is, however, a way to trigger Jenkins builds from Azure Pipelines using the Jenkins Integration extension. This may be a good option as you transition.
No, there are no plugins available for that.