Red Hat has refreshed its interactive hands-on lab for the automation coding assistant (formerly Ansible Lightspeed) in the Ansible VS Code extension. The extension now supports Google Gemini and OpenAI-compatible endpoints via Red Hat AI, in addition to its original IBM watsonx integration. The updated lab walks through generating an Ansible playbook and role for deploying a database server and HTML landing page across web servers, with faster setup and a preconfigured open source model served via an OpenAI-compatible endpoint, removing the need to obtain external credentials.
Questions this post answers
Does the Ansible VS Code extension support AI models other than IBM watsonx?
Yes, the automation coding assistant (formerly Ansible Lightspeed) in the Ansible VS Code extension now supports Google Gemini and OpenAI-compatible endpoints through Red Hat AI, in addition to its original IBM watsonx integration from 2023. This lets teams generate Ansible playbooks and roles using their preferred large language model rather than being locked into a single provider. Developers picking an AI backend for infrastructure automation can track tool updates like this on daily.dev.
What does the Red Hat Ansible automation coding assistant do in VS Code?
It generates Ansible playbooks and roles from natural-language prompts inside the VS Code extension, then automatically lints the output to check for errors. Users can retrieve documentation for unfamiliar modules or keywords with a single click and make manual edits before running the playbook, streamlining the process of writing and validating automation code. Engineers evaluating AI-assisted playbook generation can follow tooling updates like this on daily.dev.