ai

4Modules1Role2Plugins

Overview

Description

Manage Red Hat AI

Readme

redhat.ai

The redhat.ai Ansible Collection provides automation tools to manage Red Hat AI environments, streamline MLOps workflows, and deploy AI models efficiently on Red Hat Enterprise Linux AI (RHEL AI). This collection enables seamless AI model inferencing and automation using Ansible.

Our mission

Our mission is to provide an easy-to-use and powerful Ansible collection for deploying and managing AI models on Red Hat AI infrastructure. By leveraging automation, we reduce manual effort and improve efficiency for organizations implementing AI solutions.

We encourage contributions from all levels of expertise! Whether you're an AI/ML engineer, sysadmin, or Ansible enthusiast, your contributions help improve the collection and drive AI automation forward.

Code of Conduct

We follow the Ansible Code of Conduct in all our interactions within this project.

If you encounter abusive behavior, please refer to the policy violations section of the Code for information on how to raise a complaint.

Communication

  • Join the Ansible forum:
  • Get Help: get help or help others. Please add appropriate tags if you start new discussions.
  • Social Spaces: gather and interact with fellow enthusiasts.
  • News & Announcements: track project-wide announcements including social events. The Bullhorn newsletter, which is used to announce releases and important changes, can also be found here.

For more information about communication, see the Ansible communication guide.

Requirements

Ansible version compatibility

This collection has been tested against following Ansible versions: >=2.16.0.

Python version compatibility

This collection requires Python 3.10 or newer.

Installing the Collection from Ansible Galaxy

To consume this Collection from Automation Hub, please ensure that you add the following lines to your ansible.cfg file.

[galaxy]
server_list = automation_hub

[galaxy_server.automation_hub]
url=https://cloud.redhat.com/api/automation-hub/
auth_url=https://sso.redhat.com/auth/realms/redhat-external/protocol/openid-connect/token
token=<SuperSecretToken>

The token can be obtained from the Automation Hub Web UI.

Once the above steps are done, you can run the following command to install the collection.

  ansible-galaxy collection install redhat.ai

You can also include it in a requirements.yml file and install it with ansible-galaxy collection install -r requirements.yml, using the format:

---
collections:
  - name: redhat.ai

Note that if you install the collection from Ansible Galaxy, it will not be upgraded automatically when you upgrade the ansible package. To upgrade the collection to the latest available version, run the following command:

ansible-galaxy collection install redhat.ai --upgrade

You can also install a specific version of the collection, for example, if you need to downgrade when something is broken in the latest version (please report an issue in this repository). Use the following syntax to install version 1.0.0:

ansible-galaxy collection install redhat.ai:==1.0.0

See using Ansible collections for more details.

Using this collection

You can either call modules, rulebooks and playbooks by their Fully Qualified Collection Name (FQCN), such as redhat.ai.ilab_init, or you can call modules by their short name if you list the redhat.ai collection in the playbook's collections keyword:

---
- name: Create initial ilab config
  redhat.ai.ilab_init:
  register: init_result

- name: Download model
  redhat.ai.ilab_model_download:
    name: granite-8b-starter-v1
    release: latest
    registry_url: docker://registry.redhat.io
    registry_namespace: rhelai1
    registry_username: "username"
    registry_password: "password"

Contributing to this collection

The content of this collection is made by people like you, a community of individuals collaborating on making the world better through developing automation software.

We are actively accepting new contributors and all types of contributions are very welcome.

Don't know how to start? Refer to the Ansible community guide!

Want to submit code changes? Take a look at the Quick-start development guide.

We also use the following guidelines:

Release notes

Consult the CHANGELOG.rst included in the collection for details.

More information

Licensing

GNU General Public License v3.0 or later.

See LICENSE to see the full text.

Certification

Product
Red Hat Ansible Automation Platform 2.4
Red Hat Ansible Automation Platform 2.5
DocumentationDependencies
No dependencies
There are currently no dependencies for this collection.
View in Automation Hub
Red Hat logoLinkedInYouTubeFacebookTwitter

Platforms

Products & services

Try, buy, sell

Help

About Red Hat Ecosystem Catalog

The Red Hat Ecosystem Catalog is the official source for discovering and learning more about the Red Hat Ecosystem of both Red Hat and certified third-party products and services.

We’re the world’s leading provider of enterprise open source solutions—including Linux, cloud, container, and Kubernetes. We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2025 Red Hat