Skip to main content
Redhat Developers  Logo
  • Products

    Featured

    • Red Hat Enterprise Linux
      Red Hat Enterprise Linux Icon
    • Red Hat OpenShift AI
      Red Hat OpenShift AI
    • Red Hat Enterprise Linux AI
      Linux icon inside of a brain
    • Image mode for Red Hat Enterprise Linux
      RHEL image mode
    • Red Hat OpenShift
      Openshift icon
    • Red Hat Ansible Automation Platform
      Ansible icon
    • Red Hat Developer Hub
      Developer Hub
    • View All Red Hat Products
    • Linux

      • Red Hat Enterprise Linux
      • Image mode for Red Hat Enterprise Linux
      • Red Hat Universal Base Images (UBI)
    • Java runtimes & frameworks

      • JBoss Enterprise Application Platform
      • Red Hat build of OpenJDK
    • Kubernetes

      • Red Hat OpenShift
      • Microsoft Azure Red Hat OpenShift
      • Red Hat OpenShift Virtualization
      • Red Hat OpenShift Lightspeed
    • Integration & App Connectivity

      • Red Hat Build of Apache Camel
      • Red Hat Service Interconnect
      • Red Hat Connectivity Link
    • AI/ML

      • Red Hat OpenShift AI
      • Red Hat Enterprise Linux AI
    • Automation

      • Red Hat Ansible Automation Platform
      • Red Hat Ansible Lightspeed
    • Developer tools

      • Red Hat Trusted Software Supply Chain
      • Podman Desktop
      • Red Hat OpenShift Dev Spaces
    • Developer Sandbox

      Developer Sandbox
      Try Red Hat products and technologies without setup or configuration fees for 30 days with this shared Openshift and Kubernetes cluster.
    • Try at no cost
  • Technologies

    Featured

    • AI/ML
      AI/ML Icon
    • Linux
      Linux Icon
    • Kubernetes
      Cloud icon
    • Automation
      Automation Icon showing arrows moving in a circle around a gear
    • View All Technologies
    • Programming Languages & Frameworks

      • Java
      • Python
      • JavaScript
    • System Design & Architecture

      • Red Hat architecture and design patterns
      • Microservices
      • Event-Driven Architecture
      • Databases
    • Developer Productivity

      • Developer productivity
      • Developer Tools
      • GitOps
    • Secure Development & Architectures

      • Security
      • Secure coding
    • Platform Engineering

      • DevOps
      • DevSecOps
      • Ansible automation for applications and services
    • Automated Data Processing

      • AI/ML
      • Data Science
      • Apache Kafka on Kubernetes
      • View All Technologies
    • Start exploring in the Developer Sandbox for free

      sandbox graphic
      Try Red Hat's products and technologies without setup or configuration.
    • Try at no cost
  • Learn

    Featured

    • Kubernetes & Cloud Native
      Openshift icon
    • Linux
      Rhel icon
    • Automation
      Ansible cloud icon
    • Java
      Java icon
    • AI/ML
      AI/ML Icon
    • View All Learning Resources

    E-Books

    • GitOps Cookbook
    • Podman in Action
    • Kubernetes Operators
    • The Path to GitOps
    • View All E-books

    Cheat Sheets

    • Linux Commands
    • Bash Commands
    • Git
    • systemd Commands
    • View All Cheat Sheets

    Documentation

    • API Catalog
    • Product Documentation
    • Legacy Documentation
    • Red Hat Learning

      Learning image
      Boost your technical skills to expert-level with the help of interactive lessons offered by various Red Hat Learning programs.
    • Explore Red Hat Learning
  • Developer Sandbox

    Developer Sandbox

    • Access Red Hat’s products and technologies without setup or configuration, and start developing quicker than ever before with our new, no-cost sandbox environments.
    • Explore Developer Sandbox

    Featured Developer Sandbox activities

    • Get started with your Developer Sandbox
    • OpenShift virtualization and application modernization using the Developer Sandbox
    • Explore all Developer Sandbox activities

    Ready to start developing apps?

    • Try at no cost
  • Blog
  • Events
  • Videos

Streamline edge deployments with Red Hat Ansible Automation Platform

September 11, 2024
Roger Lopez
Related topics:
Artificial intelligenceAutomation and managementDevOpsEdge computing
Related products:
Red Hat Ansible Automation PlatformRed Hat Ansible Lightspeed with IBM watsonx Code Assistant

Share:

    Efficient and reliable deployment processes are essential for maintaining a competitive edge and operational excellence. At Red Hat, we've embraced innovative tools to enhance our deployment workflows, particularly for edge computing environments. 

    Leveraging the components of our Red Hat Ansible Automation Platform, including Ansible Lightspeed with IBM watsonx Code Assistant and Event-Driven Ansible, we streamlined the deployment of our Cool Stuff Store's new kiosks located in Dublin and Johannesburg. 

    We also explored how this approach integrates seamlessly into the broader Red Hat DevOps platform, showcasing the synergy between various tools and processes.

    Expanding the Cool Stuff Store to the edge

    As the Cool Stuff Store expands, the need to deploy new kiosks at edge locations like Dublin and Johannesburg became critical. Edge computing requires robust and efficient deployment solutions due to the limited infrastructure and remote nature of these locations. 

    The challenge was to deploy container images reliably and efficiently, especially when the Cool Stuff Store platform engineering team lacked extensive expertise in crafting Ansible playbooks. 

    With the capabilities of Ansible Lightspeed with IBM watsonx Code Assistant, the platform engineering team was able to generate Ansible playbooks, greatly facilitating the deployment automation process. 

    Why Ansible Lightspeed with IBM watsonx Code Assistant?

    Ansible Lightspeed with IBM watsonx Code Assistant simplifies the creation of Ansible playbooks by utilizing generative AI. This tool removes the guesswork and leverages the built-in expertise of IBM watsonx foundation models, trained on Ansible best practices, to generate high quality playbooks from natural-language prompts.

    By turning platform engineers into subject matter experts, it helped convert their expertise into trusted, reliable Ansible code, accelerating the adoption of automation across teams.

    Deploying with Red Hat Ansible Automation Platform

    With the Ansible playbooks in place, the platform engineers turned their focus to the Ansible Automation Platform’s automation controller user interface(UI). Within the UI, they can not only deploy their containers but can take advantage of:

    • Dynamic inventories: Configured dynamic inventories allow the platform engineers not only to setup their existing Dublin and Johannesburg kiosks, but simplify the process of adding additional kiosks to the deployment process as they come online.
    • Automation mesh: With kiosks distributed globally, automation tasks distributed across execution nodes closer to the target kiosks helped ensure faster and more reliable deployments.
    • Notifications: Capturing real-time status updates to alert upon the success or failure of the container deployments,
    • Workflow Visualizer: Via the use of Workflow Job Templates within Ansible Automation Platform, the platform engineers could visualize the step-by-step process of deploying their container deployments across their globally distributed kiosks. 

    Real-time inventory updates with Event-Driven Ansible

    Despite the successful deployments of the Cool Stuff Store, the platform engineering team still faced a challenge in figuring out how they could update their kiosk stores when new inventories of merchandise become available. To solve this, they turned to Event-Driven Ansible (EDA) for the solution. 

    With the assistance of EDA, the platform engineers were able to use EDA to listen for specific events, such as the availability of new container images in their Red Hat Quay repositories. As new inventories of merchandise were made available to the kiosk stores, new container images were created via the Red Hat OpenShift pipeline and pushed to their Quay repositories. Once the images were pushed to the Quay repositories, this triggered an EDA event which kicked off an Ansible Workflow Template to run automation against all the distributed kiosks and update their corresponding inventory. This process ensured that inventory updates were deployed to all the kiosks without any manual intervention.

    Video: Red Hat DevOps platform demo

    Watch the following video demo to see this solution in action.

    Conclusion

    By leveraging key automation components that make up Red Hat Ansible Automation Platform such as Ansible Lightspeed with watsonx Code Assistant and Event Driven Ansible, we were able to streamline the deployment process of the Cool Stuff Store’s edge kiosks. 

    This approach not only reduced the need for deep expertise in Ansible playbook creation but ensured real-time inventory updates across all the distributed kiosks globally. 

    The integration of these tools into our broader Red Hat DevOps platform demonstrates the power of automation and AI in enhancing our operational efficiency and reducing manual overhead. 

    From inner loop deployments to outer loop deployments, the Red Hat DevOps platform provides a cohesive, efficient, and security-forward solution for modern application development and deployment across multiple types of environments including at the edge. 

    Related Posts

    • 5 myths about platform engineering, debunked

    • What is platform engineering and why do we need it?

    • Deliver your applications to edge and IoT devices in rootless containers

    • IoT edge development and deployment with containers through OpenShift: Part 1

    • Edge computing: From 30 tons to 30 grams

    • Deploy computer vision applications at the edge with MicroShift

    Recent Posts

    • Container starting and termination order in a pod

    • More Essential AI tutorials for Node.js Developers

    • How to run a fraud detection AI model on RHEL CVMs

    • How we use software provenance at Red Hat

    • Alternatives to creating bootc images from scratch

    What’s up next?

    In this activity, you will connect services distributed across multiple OpenShift clusters using Red Hat Service Interconnect to establish a Virtual Applications Network and seamlessly leverage a GitOps workflow for service management.

    Start the activity
    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Products

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform

    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

    Red Hat legal and privacy links

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

    Report a website issue