Skip to main content
AI
  • Get started with AI

    • Red Hat AI

      Accelerate the development and deployment of enterprise AI solutions.

    • AI learning hub

      Explore learning materials and tools, organized by task.

    • AI interactive demos

      Click through scenarios with Red Hat AI, including training LLMs and more.

    • AI/ML learning paths

      Expand your Red Hat OpenShift AI knowledge using these learning resources.

    • AI quickstarts

      Focused AI use cases designed for fast deployment on Red Hat AI platforms.

    • No-cost AI training

      Foundational Red Hat AI training.

  • Featured resources

    • Red Hat OpenShift AI
    • Open source AI for developers
    • AI product application development
    • Open source-powered AI/ML for hybrid cloud
    • AI and Node.js cheat sheet

Red Hat AI Factory with NVIDIA

Red Hat AI Factory with NVIDIA is a co-engineered, enterprise-grade AI solution for building, deploying, and managing AI at scale across hybrid cloud environments.

Learn
  • Self-guided

    • Documentation

      Find answers, get step-by-step guidance, and learn how to use Red Hat products.

    • Learning paths

      Explore curated walkthroughs for common development tasks.

    • Guided learning

      Receive custom learning paths powered by our AI assistant.

    • See all learning
  • Hands-on

    • Developer Sandbox

      Spin up Red Hat's products and technologies without setup or configuration.

    • Interactive labs

      Learn by doing in these hands-on, browser-based experiences.

    • Interactive demos

      Click through product features in these guided tours.

  • Browse by topic

    • AI/ML
    • Automation
    • Java
    • Kubernetes
    • Linux
    • See all topics
  • Training & certifications

    • Courses and exams
    • Certifications
    • Skills assessments
    • Red Hat Academy
    • Learning subscription
    • Explore training
Build
  • Get started

    • Red Hat build of Podman Desktop

      A downloadable, local development hub to experiment with our products and builds.

    • Developer Sandbox

      Spin up Red Hat's products and technologies without setup or configuration.

  • Download products

    • Red Hat Enterprise Linux
    • Red Hat AI
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products
  • Featured

    • Red Hat build of OpenJDK
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat Developer Toolset
  • References

    • E-books
    • Documentation
    • Cheat sheets
    • Architecture center
Community
  • Get involved

    • Events
    • Live AI events
    • Red Hat Summit
    • Red Hat Accelerators
    • Community discussions
  • Follow along

    • Articles & blogs
    • Developer newsletter
    • Videos
    • Github
  • Get help

    • Customer service
    • Customer support
    • Regional contacts
    • Find a partner

Join the Red Hat Developer program

Download Red Hat products and project builds, access support documentation, learning content, and more.

ConsoleDocsSupport Search
New For you

Recommended

We'll recommend resources you may like as you browse. Try these suggestions for now.

  • Product downloads
  • Cheat sheets
  • Red Hat Developer learning portal
  • Developer blog
  • E-books
  • Developer Sandbox
Log in

Get more with a Red Hat Developer account

  • Product downloads
  • Console access
  • Event registration
  • Training & trials
Explore more account benefitsLog in or register

A subscription may be required for some services.

Contact us

How to install VMs and Ansible Automation Platform on Mac M1

October 25, 2022
Arnav Bhati
Related topics:
AutomationLinux
Related products:
Red Hat Ansible Automation PlatformRed Hat Enterprise Linux

    Most of the time, we create our own Ansible playground to test Playbooks, features of the Red Hat Ansible Automation Platform (AAP), and many other things. We create our dedicated environment to test AAP for faster troubleshooting and resolution of customer issues.

    Previously, it was a pain to install virtual machines on a Mac with an M1 chip. But now, Red Hat Enterprise Linux (RHEL) VMs can be easily installed using UTM, a system emulator and virtual machine host for macOS.

    How to install a RHEL VM using UTM

    It should take less than two hours to finish the setup, including installation.

    To create VMs (RHEL 8.6 for automation controller) on Mac M1 machines using UTM, follow these steps:

    1. Download and install UTM.

    2. After installation, click “+” to create a VM.

    3. Select virtualize and click Linux.

    4. Download the RHEL 8 ISO DVD image.

    5. Click on browse and select the image. Then click continue.

    6. Select the RAM for the automation platform as per the AAP-2.2 minimum requirements document.

    7. Select the 100GB disk size, then click continue.

    8. Give the appropriate name to your VM, then check the Open VM Settings button.

    9. Navigate to the network section. Under network mode, select bridged (advanced).

    10. Click the Play button to start the installation.

    11. Fill in the details you need to install RHEL 8 as your VM.

    12. After the installation is complete, close the VM.
    13. Click the VM name in UTM and unselect the CD/DVD option. Now your RHEL machine will start normally.

    14. Enable the wired connection from the network connection settings.

    Figure 1 illustrates the installed RHEL 8 VM.

    A screenshot of the installed RHEL 8 virtual machine.
    Figure 1: Your VM is ready to use!

    Install AAP on RHEL VM

    To get your VM ready to install AAP 2.2, follow these steps:

    1. Open the terminal and type ifconfig. Note that the IP address will be in a similar subnet of your Mac IP address.

    2. Open a terminal in your Mac machine and connect from your Mac to the newly created VM via SSH.

    3. Now your VM is ready to install AAP 2.2. Create a Red Hat Registry Service Account, following the instructions in the Creating Registry Service Accounts guide.

    Now install AAP 2.2 by following these steps:

    1. Download AAP-2.2 from the Red Hat Ansible Automation Platform Product Software site.
    2. Edit the inventory file and add the correct hostname for your automation controller.
    3. Mandatory parameters for inventory file:
      • [automationcontroller]
      • [all:vars]: Admin password for your AAP controller
      • pg_password: Add password for database.
      • registry_username and registry_password: Credentials for container registry to pull execution environment images.
    4. Run the setup.sh script.

    The following listing illustrates a snippet of the inventory file for AAP-2.2 installation.

    # control.example node_type=control
    # hybrid.example node_type=hybrid
    # hybrid2.example <- this will default to hybrid
    [automationcontroller]
    #192.168.0.9 ansible_connection=local
    #127.0.0.1 ansible_connection=local
    aap ansible_connection=local
    [automationcontroller:vars]
    peers=execution_nodes

    After successfully finishing the setup script, you can access the automation controller server from https://<TOWER_SERVER_NAME>/. In this scenario we are using aap as the hostname, so the URL will be https://app/ to access our automation controller UI.

    Figure 2 illustrates the UI for the AAP-2.2 controller.

    Figure 3 : AAP controller UI
    Figure 2: AAP-2.2 controller UI

    Note that the newly created VM should define a hostname in /etc/hostname. It would be best if you used this name in the automation controller. Otherwise, the installation will fail. Here's how you'd check the hostname of the controller machine in this file:

    [root@aap aap-2.2-test]# cat /etc/hostname
    aap

    Summary

    Now that we have shown you how easy it is to install RHEL VMs using UTM, try it for yourself. Refer to the Red Hat Ansible Automation Platform 2.2 Documentation and Red Hat Ansible Automation Platform Installation Guide for further information and resources. Feel free to comment below. We welcome your feedback.

    Related Posts

    • What’s new in Ansible Automation Platform 2.2

    • Managing Windows Updates with Ansible in Red Hat Enterprise Linux

    • Example of using Ansible to update Container Native Storage

    • Good news: Business automation is not about SOA

    Recent Posts

    • What's new for developers in Red Hat Enterprise Linux 10.3 and 9.9

    • Control multicluster costs with right-sizing in Red Hat Advanced Cluster Management 5

    • Lightbits is now certified for Red Hat OpenStack Services on OpenShift

    • What's new in Red Hat OpenShift 5 for developers

    • On-demand screen context in Red Hat Developer Hub intelligent assistant

    What’s up next?

    Automation IT

    Automating IT operations lets you do more with what you have, freeing up teams to work on projects that deliver greater business value. In An IT executive's guide to automation, you'll discover the benefits of a long-term transformative automation strategy, explore automation adoption best practices, and more.

    Download the e-book
    Red Hat Developers logo

    Platforms

    • Red Hat AI
    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Build

    • Developer Sandbox
    • Developer tools
    • Interactive tutorials
    • API catalog

    Quicklinks

    • Learning resources
    • E-books
    • Cheat sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site status dashboard
    • Report a security problem

    Red Hat Developer

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2026 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility
    Ask AI