Crank up your automation with Ansible validated content

 

“Dear Aunt Automation,

 

At Suncavanaugh Corp., we just got this super cool automation platform. It’s called Red Hat Ansible Automation Platform. Now, I’m really excited about all this and I have used Ansible before, but I’m worried about getting it working in our environments. How do I even get started with automation that needs to be production ready? What if I need help building what we need? How do I know what I build is good enough for production? This is pretty scary… 

 

Love,

~ Chagrining in Chapel Hill “

 

We can understand these concerns, as this is something that many customers experience when they start their journey into automation. Red Hat Ansible Automation Platform has many tools to assist organizations from savings planner to Red Hat Insights, however, actually getting started still requires you to jump into some YAML and build your first production-ready playbook. You want to start automating, but you don’t know where to start. At AnsibleFest 2022, we announced a new addition to the content ecosystem offered through the platform. Drumroll please….. this is Ansible validated content. 

Ansible validated content is expert-built automation content packaged as Collections that contain Ansible roles and playbooks that you can use “out-the-box” through Ansible Automation Platform. So, if you are just getting started and you have used tools like savings planner to decide on the use cases you want to focus on, you can grab Ansible validated content and either use the roles or copy what you need to build your automation. This greatly reduces the time needed to get started and also gives you a great reference point instead of reinventing the automation wheel yourself.

 

So how can you use Ansible validated content?

In Ansible Automation Platform 2.3, validated content is already pre-loaded into private automation hub. 

You select the Collection and grab the latest documentation or installation details with the Galaxy client. For example:

 ansible-galaxy collection install infra.ee_utilities  

(Ansible Galaxy client configuration is needed before using the ansible-galaxy cli )

As of the release of Ansible Automation Platform 2.3, we have the following types of content available:

HYBRID CLOUD

  • AWS
    • Operations
      • Setup credentials
      • Detach and delete internet gateways
      • Configure multi-region CloudTrail
      • Creating custom AMIs
      • Terminate EC2 instances by tag
    • Troubleshooting
      • RDS connectivity
  • Azure
    • Lifecycle management
      • Load balancers
      • Postgres SQL instance
      • Network interfaces and stacks
      • Resource and security groups
      • Virtual machine

 SECURITY

  • Firewall policy hygiene

 NETWORKING

  • Network base configuration
  • Manage BGP network resources
  • Build, maintain and validate VPN tunnels

 NETWORK AT THE EDGE

  • Cloud connectivity implementation
  • Autonomous System Number (ASN) configuration
  • OSPF management
  • BGP management
  • Common network health checks: reachability tests,  interface verification, routing protocols neighbors’ state validation, mac-addresses, VLANs, ARP-tables and bootflash health check, and more.

 

Collections available from the Ansible Automation Platform 2.3 release:

Validated Collection

Description

network.base

This validated content collection provides a single platform-agnostic entry point to manage all the resources supported for a given network OS.

security.firewall_mgmt

A collection to build, maintain and validate Firewall management and policies across firewall appliances

cloud.aws_troubleshooting

A collection includes a variety of Ansible roles to help troubleshoot AWS Resources.

network.vpn

A collection to build, maintain and validate VPN tunnels across cloud providers and network appliances

network.bgp

The network.bgp enables users to manage the BGP resources independent of platforms and perform BGP health checks.

cloud.aws_ops

A collection that includes a variety of Ansible roles and playbooks to help automate the management of resources on AWS.

infra.osbuild

A collection to build ostree based images for Fedora, Red Hat Enterprise Linux and Centos Stream

infra.ah_configuration

A collection that allows for easy interaction with an Ansible automation hub or Galaxy NG server via Ansible Playbooks.

infra.ee_utilities

A collection that includes a number of roles which can be useful for managing automation execution environments.

infra.controller_configuration

A collection that allows for easy interaction with an AWX or automation controller server via Ansible roles using the AWX/Controller collection modules.

infra.aap_utilities

A collection that includes a number of roles which can be useful for installing and managing AWX or Ansible Automation Platform

 

Currently in Ansible Automation Platform 2.3, the validated content is preloaded when you deploy a private automation hub. During the installation process with the bundle, the latest content from the repository for validated content is downloaded and imported into your private automation hub. There are a few options we can utilize in the bundle inventory to change this behavior.

If you want to disable publishing an Ansible validated content to the private automation hub, you can set automationhub_seed_collections=false. In addition to this, you can also change what is published to your private automation hub whether it’s certified, validated or both sets of content, by setting automationhub_collection_seed_repository.

Although the content is currently installed this way through the bundle installer, there are plans to bring Ansible validated content into console.redhat.com. This would allow you to automatically synchronize the latest content from Ansible automation hub on console.redhat.com much as you do with certified content.

 

Additional resources

Originally posted on Ansible Blog
Author:

Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *