Red Hat Ansible Lightspeed with IBM watsonx Code Assistant


Red Hat® Ansible® Lightspeed with IBM watsonx Code Assistant is a generative artificial intelligence (gen AI) service engineered to help your automation teams create, adopt, and maintain Ansible content more efficiently. Your organization can adopt automation across teams using gen AI to assist and support the automation content creation process regardless of their prior experience with Ansible.

Connected to IBM watsonx Code Assistant, Ansible Lightspeed helps users turn automation ideas into Ansible code with natural language prompts. 

What to expect

When your organization deploys Red Hat Ansible Lightspeed with IBM watsonx Code Assistant to help accelerate IT automation, you can: 

  • Boost productivity with AI-generated code recommendations that are more accurate, more reliable, and integrated into your automation developers’ existing Ansible workflows.

  • Upskill teams and reduce barriers to entry for automation code creation, empowering automation subject matter experts (SMEs) with basic coding knowledge to translate their knowledge into Ansible Playbooks.
  • Create with confidence using a large-language model trained on Ansible-specific data sets and infused with Ansible best practices.  

Table 1. Red Hat Ansible Lightspeed features and benefits

Playbook generationFull Ansible Playbook generation with a guided-chat experience and ability to refine prompts for better quality code.

Content explanation

Accelerate learning with contextual explanations to familiarize automation developers with playbook syntax, structure, and the purpose and impact of their code. 

Content source matching

Attempts to match each generated code recommendation to the top 3 closest potential data training sources, including the Ansible content, content authors, and content licenses.

Post-processing rules

Augments generated code recommendations to ensure they adhere to Ansible best practices.

Ansible code botScans existing content collections through selected Git repositories and automatically submits pull requests that can be qualitatively improved with the most up-to-date Ansible best practices.
VS Code integration

Ansible Lightspeed is accessed directly in the popular code editor, Visual Studio Code, via the Ansible extension.

Flexible deployment optionsAnsible Lightspeed with IBM watsonx Code Assistant is available as either a software-as-a-service (SaaS) or an on-premise deployment. 
Model customizationTraining the model using your existing Ansible content results in suggestions that are more tailored to your organization's specific needs and automation patterns. Available only with IBM's Standard Plan.


Red Hat Ansible Lightspeed with watsonx Code Assistant has a highly focused core function: to minimize the time and effort it takes to create, maintain, and improve the quality of Ansible content. These gen AI capabilities for Red Hat Ansible Automation Platform provide:

  • More transparency. At Red Hat, openness is always a priority. Red Hat Ansible Lightspeed with watsonx Code Assistant allows you to identify the potential source, author, and license of the training data used for generated code recommendations. Red Hat is also committed to ensuring that the Ansible content being used to train IBM watsonx Code Assistant model is covered through appropriate licenses.
  • More accuracy. Unlike other gen AI tools, Red Hat Ansible Lightspeed with IBM watsonx Code Assistant is focused specifically on automation, with a foundation model trained on Ansible content. The results are generated code recommendations that are more accurate, contextualized, and adherent to accepted Ansible best practices. With Ansible Lightspeed for watsonx Code Assistant, you can extend your automation practice across teams with greater speed and efficiency.
  • More choice. Red Hat Ansible Lightspeed with IBM watsonx Code Assistant is designed to give you choice. Customize and fine-tune your watsonx Code Assistant model to your exact needs. Choose which data and namespaces are used to train the model. Select which  Git repositories the Ansible code bot operates in. Choose your deployment—SaaS or on premise. 

Discover a trusted way to tap into the transformative potential of gen AI with Red Hat Ansible Lightspeed with IBM watsonx Code Assistant. 

Next steps

Visit to learn more and get started.