When working with Ansible and Windows, many find WinRM’s limitations both frustrating and tricky to navigate. Managing Windows remotely from a Linux environment presents unique challenges due to these constraints. From my vantage point, OpenSSH emerges as a more stable and speedy alternative compared to WinRM. This might account for its widespread recommendation as a […]
Deploy a Visual Studio Instance Using Kubernetes on DigitalOcean
For some cases, a private and easily accessible Visual Studio instance may be a good idea. Almost all cloud providers offer a managed Kubernetes service. Today I am going to use DigitalOcean service, but the process should be very similar for other cloud providers. On this occasion, we are going to create a cluster with […]
Set up Grafana OSS with minikube
Grafana is a “is a multi-platform open source analytics and interactive visualization web application“. It can be used for data visualization and metrics monitoring, including infrastructure such as servers and containers. To deploy Grafana using Kubernetes, you will need a host with Kubernetes installed or a cloud service to do it such as EKS or […]
Updating the .war file of your containerized Jenkins instance
In some cases, after you log in to Jenkins and go to ‘Manage Jenkins’, it will show you a message saying “New version of Jenkins (x) is available for download (changelog)”. If you click ‘download’ it will start to download the latest .war Jenkins file. Here we are going to see the installation process of […]
Ansible Runner: Ansible from Python code
Ansible Runner is a Python module that allows you to run Ansible playbooks from Python code. It offers “directly importable and usable API for interfacing with Ansible“. In Python, one way of dealing with Ansible is to just call it using modules such as subprocess or os.system. Ansible Runner offers a more ‘Pythonic way‘ of […]
Create a virtual machine in Proxmox with Python and Terraform
If are like me, you have a lab at home. In my case, after checking different options, I decided to use Proxmox as my main hypervisor. It is open-source and Debian-based, with a simple web console. Also, there is a terraform provider for it, which we will be looking at today. Using Python, we will […]
Install Jenkins with Docker using an Ansible playbook
There are a few advantages of installing Jenkins using Docker. These advantages include faster delivery, more scalability, and easier management. Here we will create a bash script to install Jenkins with that approach. Then, we will transform that script into an Ansible playbook with the shell module. For this example, I will use CentOS 7. You can […]