Convert Figma logo to code with AI

ansible logoworkshops

Training Course for Ansible Automation Platform

1,810
1,168
1,810
29

Top Related Projects

Ansible for DevOps examples.

A few starter examples of ansible playbooks, to show features and how they work together. See http://galaxy.ansible.com for example roles from the Ansible community for deploying many popular applications.

ansible-lint checks playbooks for practices and behavior that could potentially be improved and can fix some of the most common ones for you

14,555

AWX provides a web-based user interface, REST API, and task engine built on top of Ansible. It is one of the upstream projects for Red Hat Ansible Automation Platform.

Quick Overview

The ansible/workshops repository is a collection of Ansible workshops and training materials. It provides a comprehensive set of hands-on exercises and examples to help users learn and practice Ansible, a popular open-source automation tool.

Pros

  • Comprehensive Content: The repository offers a wide range of workshops covering various Ansible topics, from beginner to advanced levels, making it suitable for users of all skill levels.
  • Interactive Learning: The workshops include step-by-step instructions, code examples, and interactive exercises, allowing learners to actively engage with the material.
  • Community-Driven: The project is maintained by the Ansible community, ensuring the content is up-to-date and reflects the latest Ansible best practices.
  • Adaptable: The workshops can be easily customized and adapted to fit the specific needs of different organizations or training environments.

Cons

  • Requires Ansible Knowledge: The workshops assume a certain level of familiarity with Ansible, which may be a barrier for complete beginners.
  • Maintenance Overhead: Keeping the workshops up-to-date with the latest Ansible releases and features can be a continuous effort for the maintainers.
  • Limited Hands-on Exercises: While the workshops provide a good foundation, they may not offer a comprehensive set of hands-on exercises for all Ansible use cases.
  • Potential Outdated Content: As Ansible evolves, some of the workshop content may become outdated, requiring regular updates.

Getting Started

To get started with the Ansible workshops, follow these steps:

  1. Clone the ansible/workshops repository:

    git clone https://github.com/ansible/workshops.git
    
  2. Navigate to the cloned repository:

    cd workshops
    
  3. Explore the available workshops in the workshops/ directory. Each workshop has its own README file with detailed instructions on how to set up and run the exercises.

  4. Choose a workshop that aligns with your learning goals and follow the provided instructions to set up the necessary infrastructure and tools.

  5. Work through the exercises, taking notes and experimenting with the Ansible code examples provided in the workshop materials.

  6. Refer to the Ansible documentation and community resources for additional support and guidance as needed.

Competitor Comparisons

Ansible for DevOps examples.

Pros of ansible-for-devops

  • More focused on practical, real-world examples and scenarios
  • Includes a companion book for in-depth explanations
  • Smaller scope, making it easier for beginners to grasp

Cons of ansible-for-devops

  • Less comprehensive coverage of Ansible features
  • Fewer hands-on lab exercises
  • May not be as up-to-date with the latest Ansible developments

Code Comparison

ansible-for-devops:

- name: Ensure Apache is installed
  apt:
    name: apache2
    state: present

- name: Start Apache service
  service:
    name: apache2
    state: started

workshops:

- name: Install and configure Apache
  hosts: web_servers
  become: yes
  tasks:
    - name: Install Apache
      yum:
        name: httpd
        state: present

    - name: Start and enable Apache
      service:
        name: httpd
        state: started
        enabled: yes

The code snippets show that ansible-for-devops uses simpler, more straightforward tasks, while workshops demonstrates a more structured approach with host targeting and additional options. Both repositories provide valuable resources for learning Ansible, with workshops offering a broader scope and more structured learning path, while ansible-for-devops focuses on practical, real-world applications.

A few starter examples of ansible playbooks, to show features and how they work together. See http://galaxy.ansible.com for example roles from the Ansible community for deploying many popular applications.

Pros of ansible-examples

  • Provides a wide range of practical examples covering various use cases
  • Easier to understand for beginners due to simpler structure and focused examples
  • Can be quickly referenced for specific tasks or implementations

Cons of ansible-examples

  • Less comprehensive and structured learning experience
  • Lacks guided workshops or hands-on lab environments
  • May not cover more advanced topics or real-world scenarios as thoroughly

Code Comparison

ansible-examples:

---
- hosts: webservers
  vars:
    http_port: 80
    max_clients: 200
  tasks:
    - name: ensure apache is at the latest version
      yum: name=httpd state=latest

workshops:

---
- name: Apache server installed
  hosts: web
  become: yes
  tasks:
    - name: latest Apache version installed
      ansible.builtin.dnf:
        name: httpd
        state: latest

The workshops repository offers a more structured and comprehensive learning experience, with guided workshops and hands-on labs. It covers a broader range of topics and provides a more in-depth understanding of Ansible. However, ansible-examples is more straightforward for quick reference and may be easier for beginners to grasp specific concepts or implementations.

ansible-lint checks playbooks for practices and behavior that could potentially be improved and can fix some of the most common ones for you

Pros of ansible-lint

  • Focused on linting and code quality, providing specific tools for Ansible best practices
  • Regularly updated with new rules and improvements for Ansible syntax and style
  • Can be integrated into CI/CD pipelines for automated code checks

Cons of ansible-lint

  • Limited in scope compared to workshops, focusing only on linting
  • Doesn't provide hands-on learning experiences or comprehensive Ansible training
  • May require additional setup and configuration for optimal use

Code Comparison

ansible-lint:

- name: Example task
  ansible.builtin.debug:
    msg: "This is a debug message"

workshops:

- name: Configure webserver with nginx
  hosts: webservers
  become: yes
  tasks:
    - name: Install nginx
      apt: name=nginx update_cache=yes state=latest

The ansible-lint example shows a simple task that would be checked for style and best practices, while the workshops example demonstrates a more complete playbook structure used for hands-on learning.

14,555

AWX provides a web-based user interface, REST API, and task engine built on top of Ansible. It is one of the upstream projects for Red Hat Ansible Automation Platform.

Pros of AWX

  • Provides a web-based user interface for managing Ansible playbooks and inventories
  • Offers role-based access control and job scheduling capabilities
  • Integrates with various cloud providers and version control systems

Cons of AWX

  • More complex setup and maintenance compared to Workshops
  • Requires additional resources to run (database, message queue, etc.)
  • Steeper learning curve for users new to Ansible

Code Comparison

AWX (Python):

from django.db import models
from django.utils.translation import ugettext_lazy as _

class Organization(models.Model):
    name = models.CharField(max_length=512)
    description = models.TextField(blank=True)

Workshops (YAML):

- name: Configure webserver with nginx
  hosts: webservers
  become: True
  tasks:
    - name: install nginx
      apt: name=nginx update_cache=yes state=latest

Summary

AWX is a comprehensive web-based solution for managing Ansible at scale, offering advanced features like scheduling and access control. Workshops, on the other hand, focuses on providing educational content and hands-on exercises for learning Ansible. AWX is better suited for enterprise environments, while Workshops is ideal for training and skill development. The code examples highlight the difference in focus, with AWX using Django models for its web application and Workshops showcasing Ansible playbook syntax.

Convert Figma logo designs to code with AI

Visual Copilot

Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.

Try Visual Copilot

README

Ansible Automation Technical Labs & Workshops

The Red Hat Ansible Automation Workshops project is intended for effectively demonstrating Ansible's capabilities through instructor-led workshops or self-paced labs.

Website

AI

Infrastructure AI

AI infrastructure automation

Standarize AI infrastructure operations

Lab Page

Ansible Lightspeed Intelligent Assistant

Use the AI powered chat assistant

The Ansible administrator who never takes a day off

Lab Page

Unlocking AIOps

Use AI within IT operation workflows

Red Hat Ansible Automation Platform unlocks AIOps

Lab Page

OpenShift Virt

Scaling VM Migration

Automate VM migrations with Ansible

Scale VM migration to OpenShift with AAP

Lab Page

Inventory Mangement

Effortless inventory management

Save time and adapt quickly to changes

Lab Page

Patching RHEL VMs

Patch RHEL VMs in OpenShift Virtualization

Learn how to create custom-built reporting for patch compliance

Lab Page

IT Automation

Hashicorp Vault

Integrate AAP and Hashicorp Vault

Managing your Ansible secrets with Hashicorp Vault

Lab Page

AAP Automation Dashboard

Measure automation intiatives

Create reports about automation successes

Lab Page

Policy Enforcement

Apply OPA policies to automation workflows

Learn how to put guard rails on enterprise automation

Lab Page

Red Hat Insights

Integrate Insights into AAP

Remediate and manage vulnerabilities and compliance

Lab Page

Network Automation

Manage network devices like a pro

Network visbility, config management and operations

Lab Page

Deploying and Removing RHEL apps

Automate application deployement

Use Ansible to quickly automate app deployments

Lab Page

Cloud

Hashicorp Terraform

IT automation workflows for the cloud

See how Terraform and Ansible can work together

Lab Page

Infra visibility & Reports

Use Ansible to gain infra awareness

Dyanmic documentation is key for automation success

Lab Page

AIOps on Google Cloud

Apply an AIOps workflow on Google Cloud

Learn how to combine AI solutions with your IT infra workflows

Lab Page

AAP Service on AWS

Automation in Minutes with AAP on AWS

Get your automation infrastructure online quickly

Lab Page

Developer

One-click AAP trial

Use the developer sandbox

Provisioning AAP in Red Hat Developer Sandbox

Lab Page

All-in one Ansible Developer Tools

Develop Ansible content quicker

Introduction to Ansible Dev Container in VS Code

Lab Page

Self-Service Automation

Self-Service Automation - Technology Preview

Help your organization get up and going faster

Lab Page

Red Hat Developer Hub

Ansible plugins for Red Hat Developers Hub

How to get Ansible integrated into Developer Hub

Lab Page

Workshops

For a list of all workshops click here

Self Paced Exercises

You will find individual self-paced labs available here (15-30 minutes each):

  • Ansible Automation Platform Self-Paced Labs - These interactive learning scenarios provide you with a pre-configured Ansible Automation Platform environment to experiment, learn, and see how the platform can help you solve real-world problems. The environment runs entirely in your browser, enabling you to learn more about our technology at your pace and time.

YouTube Channels

Documentation

Training

Trial

Community

Workshop Documentation


Red Hat Ansible Automation