Ansible ChatGPT and Project Wisdom
Discussing the pros and cons of ChatGPT waiting for Project Wisdom.
ChatGPT, produced by OpenAI, is an excellent tool for artificial intelligence with a Chat-like interface. We can ask ChatGPT any questions. What is unexpected is that the results are quite brilliant when we ask how to write code, too. Since the OpenAI ChatGPT release announcement on 30th November 2022, the ChatGPT tool has been a great hype on the internet. People around the globe tested in the most variant situations. It’s impressive the application of the GPT (Generative Pre-trained Transformer) 3.5 large language model with a massive amount of data.
It’s a great tool to speed up the DevOps and SysOps workflow. Long story short: it creates a skeleton that we can use as a base for laboratory tests, but nothing is ready for production. It’s impressive because it could be improved and probably we could obtain a great result in a few years. After a few tries, I agree with the opinions of Craig Brandt in the “Ansible and ChatGPT: Putting it to the test” article on the Ansible blog.
The good
ChatGPT can understand our request and process it in a way to generate some code. The output code respects the Ansible syntax. It gives us an idea of how automation could be executed in real life.
The bad
The produced code it’s far from production ready. Some outputs are definitely better quality than others; it depends on the use case. We can use the Ansible Lint tool to analyze for syntax checks and test when the Ansible best practices are fulfilled.
The Best Resources For Ansible
Certifications
- Coursera Pro - Unlimited access to 7,000+ world-class courses, hands-on projects, and job-ready certificate programs—all included in your subscription
Video Course
Printed Book
-
Ansible For VMware by Examples
-
Ansible for Kubernetes by Example
-
Hands-on Ansible Automation
-
Red Hat Ansible Automation Platform
eBooks
- Ansible by Examples: 200+ Automation Examples For Linux and Windows System Administrator and DevOps
- Ansible Cookbook: A Comprehensive Guide to Unleashing the Power of Ansible via Best Practices, Troubleshooting, and Linting Rules with Luca Berton
- Terraform By Example: A Practical Approach for Beginners to Learn Cloud Infrastructure with Terraform
- Ansible For Windows By Examples: 50+ Automation Examples For Windows System Administrator And DevOps
- Ansible For Linux by Examples: 100+ Automation Examples For Linux System Administrator and DevOps
- Ansible Linux Filesystem By Examples: 40+ Automation Examples on Linux File and Directory Operation for Modern IT Infrastructure
- Ansible For Security by Examples: 100+ Automation Examples to Automate Security and Verify Compliance for IT Modern Infrastructure
- Ansible Tips and Tricks: 10+ Ansible Examples to Save Time and Automate More Tasks
- Ansible Linux Users & Groups By Examples: 20+ Automation Examples on Linux Users and Groups Operation for Modern IT Infrastructure
- Ansible For PostgreSQL by Examples: 10+ Examples To Automate Your PostgreSQL database
- Ansible For Amazon Web Services AWS By Examples: 10+ Examples To Automate Your AWS Modern Infrastructure
- Ansible Automation Platform By Example: A step-by-step guide for the most common user scenarios
Project Wisdom
Project Wisdom announced at AnsibleFest 2022, is a close collaboration between Ansible and IBM Research to create an Ansible AI. The quality will be better because of the specificity of the project. I look forward to testing on my own.
Recap
ChatGPT is a great tool to speed up DevOps productivity, but the resulting quality might vary significantly. It’s a great way to obtain a laboratory test draft but not a production-ready code.
Subscribe to the YouTube channel, Medium, and Website, X (formerly Twitter) to not miss the next episode of the Ansible Pilot.Academy
Learn the Ansible automation technology with some real-life examples in my
My book Ansible By Examples: 200+ Automation Examples For Linux and Windows System Administrator and DevOps
Donate
Want to keep this project going? Please donate