Revolutionising Ansible: Testing the Limits of OpenAI’s ChatGPT for Smarter Automation
Exploring the Power of OpenAI’s ChatGPT in Revolutionizing Ansible Coding: Advancing Automation to the Next Level


OpenAI ChatGPT
ChatGPT is a revolutionary artificial intelligence in that we can interact in a conversational way. Version 3 was launched in November 2022, and ChatGPT in March 2023. Its closest competitor is Google Bard.
Links
- Introducing ChatGPT
- GPT-4 is OpenAI’s most advanced system, producing safer and more useful responses
The Best Resources For Ansible
Certifications
Video Course
Printed Book
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
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
Four Challenges
I decided to judge the quality of the AI using the following four challenges:
- How to Pass Variables to Ansible Playbook in the command line? - Ansible extra variables
- Configure a Windows Host for Ansible - Ansible winrm
- Using Date, Time, and Timestamp in Ansible Playbook - Ansible Tip and Tricks
- Change user password - Ansible module user
Challenge 1
- How to Pass Variables to Ansible Playbook in the command line? - Ansible extra variables
Score: Good
Challenge 2
- Configure a Windows Host for Ansible - Ansible winrm
Score: Bad
Challenge 3
- Using Date, Time, and Timestamp in Ansible Playbook - Ansible Tip and Tricks
Score: Good
Challenge 4
- Change user password - Ansible module user
Score: Good
Recap
ChatGPT is a great companion that speeds up prototyping and boosts our productivity. I’m impressed by the quality of the result. They appear good-looking and well-organized. However, at the moment, the outcome requires some manual rework before being able actually to use in our laboratory. The challenges saw that it is excellent for minor problems but lacks for those requiring more context interpretation.
Subscribe to the YouTube channel, Medium, Website, Twitter, and Substack 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