# KodeKloud: Beta Courses AI Assisted Ansible

## AI Assisted Ansible

### Prerequisites

- [Course Introduction](https://notes.kodekloud.com/docs/AI-Assisted-Ansible/Prerequisites/Course-Introduction/page.md): A practical course teaching how to combine AI tools with Ansible to rapidly author, validate, and secure playbooks using VS Code, linters, ChatGPT, Copilot, Claude Code and Ansible Lightspeed.
- [Prerequisites](https://notes.kodekloud.com/docs/AI-Assisted-Ansible/Prerequisites/Prerequisites/page.md): Lists knowledge, lab environment, and account prerequisites plus checklist and next steps for running AI-assisted Ansible labs on RHEL 10.

### Ansible Refresher

- [Ansible Playbook Basics](https://notes.kodekloud.com/docs/AI-Assisted-Ansible/Ansible-Refresher/Ansible-Playbook-Basics/page.md): Overview of Ansible playbooks covering structure, components, execution, and best practices for automating system configuration and application deployment
- [Demo Writing a Simple Playbook](https://notes.kodekloud.com/docs/AI-Assisted-Ansible/Ansible-Refresher/Demo-Writing-a-Simple-Playbook/page.md): Tutorial showing how to create an Ansible playbook to install and configure Apache on RHEL, deploy a template index page, and manage the service with handlers.

### Working With VS Code Extension

- [VS Code Extension Features](https://notes.kodekloud.com/docs/AI-Assisted-Ansible/Working-With-VS-Code-Extension/VS-Code-Extension-Features/page.md): Overview of the Red Hat Ansible VS Code extension and its features for editing, validating, linting, and running Ansible Playbooks within Visual Studio Code
- [Demo Setting Up VS Code With Ansible VS Code Extension](https://notes.kodekloud.com/docs/AI-Assisted-Ansible/Working-With-VS-Code-Extension/Demo-Setting-Up-VS-Code-With-Ansible-VS-Code-Extension/page.md): Guide to configuring VS Code with the Red Hat Ansible extension on RHEL 10, adding YAML support and helper tools for linting, autocompletion, and playbook validation.
- [Demo Using Linting and Validation](https://notes.kodekloud.com/docs/AI-Assisted-Ansible/Working-With-VS-Code-Extension/Demo-Using-Linting-and-Validation/page.md): Demonstrates using the VS Code Ansible extension and ansible-lint to lint, validate, and fix playbooks for consistency and reliability before execution.
- [Demo Integrating Cursor](https://notes.kodekloud.com/docs/AI-Assisted-Ansible/Working-With-VS-Code-Extension/Demo-Integrating-Cursor/page.md): Guide showing how to integrate Cursor AI into an Ansible workflow to generate, refine, lint, and run playbooks and templates, plus validate and verify changes on managed hosts.

### Using ChatGPT With Ansible

- [Playbook Generation Using Prompts](https://notes.kodekloud.com/docs/AI-Assisted-Ansible/Using-ChatGPT-With-Ansible/Playbook-Generation-Using-Prompts/page.md): Guide to generating Ansible playbooks from natural language prompts, prompt engineering techniques, templates, validation checklist and best practices for safe, idempotent AI-assisted playbook creation.
- [Demo Generating a Playbook With ChatGPT](https://notes.kodekloud.com/docs/AI-Assisted-Ansible/Using-ChatGPT-With-Ansible/Demo-Generating-a-Playbook-With-ChatGPT/page.md): Demonstrates using ChatGPT and VS Code to generate, lint, and iterate an idempotent Ansible playbook that installs Apache, deploys a Jinja2 template, and manages restarts.
- [Demo Iterating With ChatGPT to Fix Errors](https://notes.kodekloud.com/docs/AI-Assisted-Ansible/Using-ChatGPT-With-Ansible/Demo-Iterating-With-ChatGPT-to-Fix-Errors/page.md): Using ChatGPT to iteratively diagnose and fix a broken Ansible playbook, correcting modules, syntax, and service configuration while following Ansible best practices.

### GitHub Copilot

- [Demo Installing and Enabling Copilot](https://notes.kodekloud.com/docs/AI-Assisted-Ansible/GitHub-Copilot/Demo-Installing-and-Enabling-Copilot/page.md): Guide to install and enable GitHub Copilot in VS Code on a RHEL VM to author and test Ansible playbooks including Copilot Chat setup and authorization
- [Demo Writing Playbooks With Copilot](https://notes.kodekloud.com/docs/AI-Assisted-Ansible/GitHub-Copilot/Demo-Writing-Playbooks-With-Copilot/page.md): Demonstrating how to use GitHub Copilot in VS Code to generate, refine, and test Ansible playbooks including templating, handlers, and best practices.
- [Comparing Copilot vs ChatGPT](https://notes.kodekloud.com/docs/AI-Assisted-Ansible/GitHub-Copilot/Comparing-Copilot-vs-ChatGPT/page.md): Comparison of GitHub Copilot and ChatGPT for Ansible automation, roles, workflows, and recommended design to implement, test, and secure playbooks

### Claude Code - CLI With Ansible

- [Demo Integrating Claude Code CLI](https://notes.kodekloud.com/docs/AI-Assisted-Ansible/Claude-Code-CLI-With-Ansible/Demo-Integrating-Claude-Code-CLI/page.md): Demo guiding DevOps engineers to install and authenticate Claude Code CLI, generate and validate Ansible ad-hoc commands and playbooks from the terminal.
- [Demo Writting Playbook With Claude Code Cli](https://notes.kodekloud.com/docs/AI-Assisted-Ansible/Claude-Code-CLI-With-Ansible/Demo-Writting-Playbook-With-Claude-Code-Cli/page.md): Guide to using Claude Code CLI to generate, refactor, lint, and run an Ansible playbook that installs and configures Apache httpd on RHEL hosts.

### Red Hat Ansible Lightspeed

- [What is Lightspeed](https://notes.kodekloud.com/docs/AI-Assisted-Ansible/Red-Hat-Ansible-Lightspeed/What-is-Lightspeed/page.md): Red Hat Ansible Lightspeed is an IBM watsonx powered VS Code assistant that generates and refines Ansible YAML, prioritizes certified modules and provides inline validation and best practice guidance
- [Demo Setting Up Lightspeed](https://notes.kodekloud.com/docs/AI-Assisted-Ansible/Red-Hat-Ansible-Lightspeed/Demo-Setting-Up-Lightspeed/page.md): Guide to configuring and using Red Hat Ansible Lightspeed in VS Code to generate and autocomplete Ansible playbooks, authenticate, and validate suggestions
- [Demo Generating Playbooks With Lightspeed](https://notes.kodekloud.com/docs/AI-Assisted-Ansible/Red-Hat-Ansible-Lightspeed/Demo-Generating-Playbooks-With-Lightspeed/page.md): Using Red Hat Ansible Lightspeed in VS Code to generate, refine, validate, and run an Ansible playbook that installs and manages Apache with a templated index and restart handler
