AnsiblePilot — Master Ansible Automation
AnsiblePilot is the leading resource for learning Ansible automation, DevOps, and infrastructure as code. Browse over 1,400 tutorials covering Ansible modules, playbooks, roles, collections, and real-world examples. Whether you are a beginner or an experienced engineer, our step-by-step guides help you automate Linux, Windows, cloud, containers, and network infrastructure.
Popular Topics
About Luca Berton
Luca Berton is an Ansible automation expert, author of 8 Ansible books published by Apress and Leanpub including "Ansible for VMware by Examples" and "Ansible for Kubernetes by Example", and creator of the Ansible Pilot YouTube channel. He shares practical automation knowledge through tutorials, books, and video courses to help IT professionals and DevOps engineers master infrastructure automation.
Ansible Lightspeed Review: IBM Watson AI Enhances Development — Video Tutorial
Tested the beta of Ansible Lightspeed with IBM Watson Code Assistant. Discover its features, setup guide, and how it boosts productivity in Ansible development.
What You'll Learn
- Setup
- Usage
- My opinion
- Conclusion
- Related Articles
Full Tutorial Content
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:

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.

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.

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.
Conclusion
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.
Related Articles
- [become and privilege escalation explained](/articles/ansible-become-privilege-escalation-complete-guide)
- [flush_handlers in Ansible](/articles/ansible-handlers-complete-guide)
About This Tutorial
- Author: Luca Berton
- Difficulty: Advanced
- Read time: 2 min
- Category: installation
Read the full written article: Ansible Lightspeed Review: IBM Watson AI Enhances Development
Related Video Tutorials
- Ansible Lightspeed Review: AI-Powered Automation with IBM Watson — Discover Ansible Lightspeed with IBM Watson Code Assistant. Explore its AI-driven automation capabilities, setup guide, and how it enhances IT efficiency.
- ChatGPT for DevOps: Boost Productivity with AI-Generated Code — Discover the benefits and limitations of using ChatGPT for DevOps tasks. Learn how AI-generated code can speed up workflows but requires careful validation.
- Ansible Project 2022 Conclusion & 2023 Outlook: Key Developments — Explore Ansible's milestones from 2022 and what's ahead for 2023, including major releases, community growth, and evolving automation trends.
- Event-Driven Ansible: Automate IT Operations Efficiently — Explore how Event-Driven Ansible automates repetitive tasks, improves IT operations, and boosts productivity.
- Ansible Private Automation Hub: Centralize and Secure Automation — Learn how Ansible Private Automation Hub enhances IT automation by centralizing content, improving security, and facilitating collaboration across teams.
- Ansible Automation Platform on ARM: Enhance Scalability & Efficiency — Discover how Ansible Automation Platform supports ARM processors, offering flexibility, seamless integration, and increased automation efficiency.