Ansible AI, Ansible Lightspeed with IBM Watson Code Assistant - Project Wisdom - beta
My first try of the Ansible native Artificial Intelligence developed by Red Hat with IBM Watson Code Assistant, the first beta of April 2023, of the Ansible Lightspeed service for Visual Studio Code.
I tested the early access closed beta version of the Artificial Intelligence developed by Red Hat with IBM Watson Code Assistant. This was called since 2022 AnsibleFest as “Project Wisdom”. The Red Hat product is called Ansible Lightspeed.
To use the product, we need the Visual Studio Code: https://code.visualstudio.com/ From the user’s point of view, the installation requires only the “Ansible " extension developed by Red Hat:
Once successfully installed we need to enable the “Ansible › Lightspeed” options: Please note that the moment is in a “closed beta” state, so we need to be invited by the Ansible Development Team.
The plugin works behind the scene in our Visual Studio Code. Each time we write a task name (in tasks or handlers section) Artificial Intelligence tries to predict a block of code. As we can see in the following image, the result could be precise or not, but it saves us some development time.
The Best Resources For Ansible
- The Linux Foundation Linux Performance Tuning - Build a broad toolkit to optimize Linux performance from the kernel up
- Coursera Pro - Unlimited access to 7,000+ world-class courses, hands-on projects, and job-ready certificate programs—all included in your subscription
- Udemy: Learn Ansible Automation in 250+examples & practical lessons: Learn Ansible with some real-life examples of how to use the most common modules and Ansible Playbook
Ansible For VMware by Examples
Ansible for Kubernetes by Example
Hands-on Ansible Automation
Red Hat Ansible Automation Platform
- 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
I found the Ansible Lightspeed “Project Wisdom” pretty accurate on easy tasks such as installing a package or configuring a service. For some novice users of Ansible, it could save time not jumping back and forward from the documentation. When the accuracy and complexity of the task arise, the predictions become vague or completely wrong. The road seems interesting, and we will probably see a good product in the future. We are in the early stage of Ansible AI, and it is going to take some time to improve. But we are in the right direction. This project is specifically for Ansible, despite OpenAI ChatGPT or Google Bard, which are more general-purpose AI that can also produce Ansible Code.
After testing the preliminary Beta of Ansible AI, I think it is an incredible product that boosts a developer’s productivity. It is good enough for prototyping and speeding up the development but needs more confidence for production code. Anyway, I was happy to test the beta and looking forward to the final Ansible Lightspeed with IBM Watson Code Assistant release. This product has been known before as Project Wisdom since Ansible Fest 2022. Subscribe to the YouTube channel, Medium, and Website, X (formerly Twitter) to not miss the next episode of the Ansible Pilot.
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
Want to keep this project going? Please donate