Managing Ansible code quality across multiple teams and projects can be challenging. We talked to Andreas Hering, System Engineer at Deutsche Telekom MMS that shared how he and his team handle the complexities of managing diverse Ansible environments with the help of Steampunk Spotter. They not only achieved significant time saving with the Spotter’s rewrite feature, but also experienced 2-4x speedup in Ansible Playbooks improvement, upgrades and maintenance compared to manual methods.
In this blog post, we’ll delve deeper into Deutsche Telekom MMS’s goals, implementation process, results achieved so far, and valuable lessons learned along the way.
Challenges of managing multiple Ansible versions
At Deutsche Telekom MMS, many teams used Ansible to automate customers’ flows, which means that different teams used various different versions of Ansible. Even though they had tools like Ansible Lint and Renovate to check their code and update Ansible, it became hard to keep their code clean and avoid duplication of roles and collections.
Where they wanted to go
“Ideally we wanted to update and upgrade all our Ansible code across all projects to the latest version,” explains Andreas.
However, with multiple customers and repositories managed by different team members, updating the code became a significant challenge.
Their goals were multi-fold:
enhance code quality so it is easily understandable by all colleagues in the team,
improve security by discouraging specific modules,
align with industry best practices,
enhance the quality of their open-source projects.
Setting up Steampunk Spotter
At Deutsche Telekom, they successfully integrated Steampunk Spotter just over 4 months ago. “When we first tested Spotter out on our code, we realized we had quite a bit of work ahead of us. For example, in one project, the average number of errors per scan and the total number of detected errors were very high, even though we already had some mechanisms like linting in place,” says Andreas.
Piškotke uporabljamo, da vam omogočimo najboljšo izkušnjo na našem spletnem mestu in analiziramo uporabo spletnega mesta z obdelavo popolnoma anonimnih podatkov. S klikom na “Sprejmi piškotke”, se strinjate z uporabo piškotkov, vendar lahko nastavitve piškotkov kadar koli spremenite.
Upravljaj piškotke
Sprejmi piškotke
Upravljaj piškotke
Nujni piškotki
Ti piškotki so nujni za delovanje naše spletne strani. Omogočajo vam dostop do različnih funkcij ter shranjevanje vaših prilagojenih nastavitev in prijavnih podatkov. Ti piškotki se uporabljajo samo za prenos podatkov prek spleta in so nujno potrebni za delovanje spletnega mesta. Če jih blokirate, nakatere funkcionalnosti ne bodo pravilno delovale.
Analitični piškotki nam pomagajo izboljšati našo spletno stran z zbiranjem informacij o tem, kako jo uporabljate, da bi izboljšali vašo izkušnjo. Podatki, ki jih zbirajo, so anonimni in se uporabljajo izključno za statistične namene. Ti piškotki nam pomagajo ugotoviti, koliko uporabnikov obišče naše spletno mesto in kaj jih najbojl zanima, tako da lahko stalno izboljšujemo našo stran, da kar najbolje ustreza vašim potrebam.