Ansible – Dynamic inventory with Python.
Hello, in this post, I want to show another small code example, which I will use a lot in this project. One problem that Ansible has, in my opinion, is…
Hello, in this post, I want to show another small code example, which I will use a lot in this project. One problem that Ansible has, in my opinion, is…
In this post, I want to show, in a similar way to the previous one, how to generate logs in pipelines, but this time from a Python script. https://devops-db.com/jenkins-class-for-logs-in-pipelines/ To…
Hello, another post of code snippets, in this one, I want to leave basically 2 methods that I use whenever I need to do some operation with IPs or a…
Here in this post, I want to leave one more piece of code, which will be useful later on, like a groovy script, you can make a python script call…
On the same theme as the previous post, I want to show another snippet of code in Python, this time, to “lint” the Yaml file, this should also be very…
In this post, I want to show another piece of Python code, now, to validate a YAML file against a JSON Schema. There are very good Schema JSON generators, I…
Following the line of the previous post () in this one I will show another piece of code, which will also be very useful in the next posts. How to…
In this post I will leave here a piece of code in Python, which will be useful soon, like copying any file to a container that is running. The Docker…
In this post I will show another snippet of code in Python, which will be used in automations/pipelines. This is an example of how to perform simple maintenance of type…
Piece of code with an example of how to build an image (Path to Dockerfile) and push the image to the Registry. The Process has a Log Stream. This code…