Ansible Amenities: Dynamic Host Groups with Jinja template data processing
Sometimes using an inventory file to manage your collections doesn't quite cut it. Thankfully you can create a host list for Ansible dynamically just by using a few queries and the builtin `add_host` module
Posted on
Ansible Amenities: Manage Jenkins Nodes with Ansible and the Jenkins API
Jenkins' API can be used to create, enable, disable and delete nodes in Jenkins. In this article you'll learn how to set up my automation to create and destroy nodes quickly using Python and Ansible as my automation framework.
Posted on
Ansible Amenities: Using Gitlab as Source of Truth - SSH
At work we use Gitlab for VCS and CI/CD. We also maintain a lot of systems that engineers need access to. In this article I'll show you how with only a few lines of code we can make Ansible grab public key data from Gitlab to use as authorized keys on your infrastructure.
Posted on