<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/try-the-ansible-playbook-generation-lab-with-gemini-and-openai-cntxcan1w" -->

---
title: Try the Ansible playbook generation lab with Gemini and...
description: Red Hat has refreshed its interactive hands-on lab for the automation coding assistant (formerly Ansible Lightspeed) in the Ansible VS Code extension. The...
canonical: https://daily.dev/posts/try-the-ansible-playbook-generation-lab-with-gemini-and-openai-cntxcan1w
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Try the Ansible playbook generation lab with Gemini and OpenAI | daily.dev
og:description: Red Hat has refreshed its interactive hands-on lab for the automation coding assistant (formerly Ansible Lightspeed) in the Ansible VS Code extension. The...
og:url: https://daily.dev/posts/try-the-ansible-playbook-generation-lab-with-gemini-and-openai-cntxcan1w
og:image: https://api.daily.dev/og/posts/cNtxCAN1W.png
og:image:alt: Try the Ansible playbook generation lab with Gemini and OpenAI
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Try the Ansible playbook generation lab with Gemini and OpenAI

**[Red Hat Developer](https://daily.dev/sources/rhdev)** · 3 min read · 0 upvotes · 0 comments

## Summary

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.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://developers.redhat.com/articles/2026/08/26/try-ansible-playbook-generation-lab-gemini-and-openai>

## Questions this post answers

### Can the Ansible VS Code extension's automation coding assistant use 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. It also supports a bring-your-own-model setup connecting to an open source model via a preconfigured OpenAI-compatible endpoint.

_Developers evaluating AI model options for Ansible automation can track ecosystem updates like this on daily.dev._

### What does the Ansible automation coding assistant hands-on lab teach?

The lab walks through installing a database server and deploying an HTML landing page across web servers using AI-generated Ansible playbooks. It covers writing effective prompts, understanding generated playbook structure, running the playbook, and generating an Ansible role from individual tasks, all inside a VS Code environment run via code-server.

_daily.dev helps developers exploring AI-assisted Ansible workflows keep up with new hands-on labs and tooling._

## Similar posts on daily.dev

- [Ansible Lightspeed: AI-Powered Playbook Automation Guide](https://daily.dev/posts/ansible-lightspeed-ai-powered-playbook-automation-guide-1xcavmkht) · Spacelift · 0 upvotes · 0 comments
- [Integrate a custom AI service with Red Hat Ansible Lightspeed](https://daily.dev/posts/integrate-a-custom-ai-service-with-red-hat-ansible-lightspeed-tjxmwkuun) · Red Hat Developer · 0 upvotes · 0 comments
- [Red Hat’s skill packs give AI agents something a bigger model never could: 20 years of institutional memory](https://daily.dev/posts/red-hat-s-skill-packs-give-ai-agents-something-a-bigger-model-never-could-20-years-of-institutional-onyqocvjh) · The New Stack · 0 upvotes · 0 comments
- [Automate AI workflows with Red Hat Ansible Certified Content Collection amazon.ai for generative AI](https://daily.dev/posts/automate-ai-workflows-with-red-hat-ansible-certified-content-collection-amazon-ai-for-generative-ai-rxwxc92wm) · Red Hat Developer · 0 upvotes · 0 comments
- [Red Hat adds support for agentic AI development](https://daily.dev/posts/red-hat-adds-support-for-agentic-ai-development-fjklcqdyg) · InfoWorld · 0 upvotes · 0 comments

---

Tags: [#ai-coding](https://daily.dev/tags/ai-coding), [#vscode](https://daily.dev/tags/vscode), [#google-gemini](https://daily.dev/tags/google-gemini), [#red-hat](https://daily.dev/tags/red-hat), [#ansible](https://daily.dev/tags/ansible)

[View this post on daily.dev](https://daily.dev/posts/try-the-ansible-playbook-generation-lab-with-gemini-and-openai-cntxcan1w)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Try the Ansible playbook generation lab with Gemini and OpenAI","url":"https://daily.dev/posts/try-the-ansible-playbook-generation-lab-with-gemini-and-openai-cntxcan1w","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/try-the-ansible-playbook-generation-lab-with-gemini-and-openai-cntxcan1w"},"datePublished":"2026-08-26T07:16:41.923Z","dateModified":"2026-09-14T06:55:46.300Z","description":"Red Hat has refreshed its interactive hands-on lab for the automation coding assistant (formerly Ansible Lightspeed) in the Ansible VS Code extension. The...","image":"https://media.daily.dev/image/upload/s--ZrL_HSsR--/f_auto/v1722860399/public/Placeholder%2006","thumbnailUrl":"https://media.daily.dev/image/upload/s--ZrL_HSsR--/f_auto/v1722860399/public/Placeholder%2006","isAccessibleForFree":true,"articleSection":"Red Hat Developer","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Red Hat Developer","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/2a8895f3216c4900bdc455585a4ad3e4","url":"https://daily.dev/sources/rhdev"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/try-the-ansible-playbook-generation-lab-with-gemini-and-openai-cntxcan1w","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"ai-coding,vscode,google-gemini,red-hat,ansible","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Red Hat Developer","item":"https://daily.dev/sources/rhdev"},{"@type":"ListItem","position":3,"name":"Try the Ansible playbook generation lab with Gemini and OpenAI"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/try-the-ansible-playbook-generation-lab-with-gemini-and-openai-cntxcan1w#faq","mainEntity":[{"@type":"Question","name":"Can the Ansible VS Code extension's automation coding assistant use models other than IBM watsonx?","acceptedAnswer":{"@type":"Answer","text":"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. It also supports a bring-your-own-model setup connecting to an open source model via a preconfigured OpenAI-compatible endpoint. Developers evaluating AI model options for Ansible automation can track ecosystem updates like this on daily.dev."}},{"@type":"Question","name":"What does the Ansible automation coding assistant hands-on lab teach?","acceptedAnswer":{"@type":"Answer","text":"The lab walks through installing a database server and deploying an HTML landing page across web servers using AI-generated Ansible playbooks. It covers writing effective prompts, understanding generated playbook structure, running the playbook, and generating an Ansible role from individual tasks, all inside a VS Code environment run via code-server. daily.dev helps developers exploring AI-assisted Ansible workflows keep up with new hands-on labs and tooling."}}]}
```

