Browsed by
Category: Automation

Ansible and private networks

Ansible and private networks

Ansible is an efficient tool to automate an infrastructure. No need for an agent to be installed on every system, it only needs SSH. But… What happens if some part of the infrastructure is not directly accessible from the machine running Ansible? This article will present you a simple solution and hopefully prevent you from spending hours on it! Diagram Here is an example of infrastructure we need to manage by running Ansible scripts only from server A (a GitLab…

Read More Read More

Azure Build Pipelines ProTip #1 – Customize git checkout

Azure Build Pipelines ProTip #1 – Customize git checkout

This is a quick post on how to get control over git checkout in Azure DevOps. In Azure DevOps (Microsoft ALM solution), Azure Build Pipelines are always defined from a git repository that can come from different type of hosting system (Azure Repo, GitHub, BitBucket, etc.). By default, an Azure Build Pipeline will always do a checkout of the code source. This is usually fine in most of cases but in some of them you may want to have control…

Read More Read More

Update a Library variable from a pipeline in Azure DevOps

Update a Library variable from a pipeline in Azure DevOps

If you’re using Azure DevOps for your automation, you may use Variable Groups to manage your configuration in a centralized and secure way. Reading a variable from a pipeline is easy but updating its value can quickly be messy and complicated… Hopefully, there are easy ways to update a variable value and they will be described in this post! Context First of all, let’s be clear on one thing: you cannot update the value of a variable with a simple…

Read More Read More