Ansible Pilot

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.

April 18, 2023
Access the Complete Video Course and Learn Quick Ansible by 200+ Practical Lessons

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.

Setup

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:

Ansible extension on Visual Studio Code

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.

Ansible Lightspeed setting on Visual Studio Code

Usage

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.

Ansible Lightspeed usage on Visual Studio Code

The Best Resources For Ansible

Certifications

Video Course

Printed Book

eBooks

My opinion

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.

Recap

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.

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

BUY the Complete PDF BOOK to easily Copy and Paste the 250+ Ansible code

Want to keep this project going? Please donate

Access the Complete Video Course and Learn Quick Ansible by 200+ Practical Lessons
Follow me

Subscribe not to miss any new releases