Skip to content

Latest commit

 

History

History
478 lines (407 loc) · 65.7 KB

README.md

File metadata and controls

478 lines (407 loc) · 65.7 KB


Ansible Links


Curated list of Ansible resources online organized by topic.

Learning

Labs

Red Hat Ansible content finder

  • Decks: For Red Hat employees and partners.
  • e-Books: Hybrid Cloud Automation, Network Automation, Event-Driven Ansible (EDA), Security, Edge and more.
  • Collaterals: This webpage includes links to all non-slide collateral including datasheets, whitepapers, briefs, checklists, infographics and overviews.

Videos:

Ansible features

Automation Hub

  • How to get started with Ansible Private Automation Hub: Learn how to use Red Hat Ansible Automation Private Automation Hub.
  • Control your content with private Automation Hub: Private Automation Hub is a self-hosted Ansible content management system. Organizations can host private hubs on their own infrastructure and manage it themselves. Similar to how Red Hat Satellite enables Red Hat Enterprise Linux customers to manage operating system content, private Automation Hub enables automation teams to manage Ansible automation content. Private Automation Hub allows curation and distribution of Ansible content as close as possible to Ansible Automation Platform clusters.

Callback Modules

Collections

Event Driven Automation

Good Practices to write Ansible content

Inventory plugins

Inventory plugins examples

  • Will Tome's examples: by Will Tome.
  • JSON: My JSON inventory plugin demo.
  • Active Directory: Active Directory dynamic inventory plugin for Ansible
  • LDAP: Query active directory and get a list of machines to use as an inventory. Groups are auto generated off of OU structure and optionally group membership.

Lightspeed

Performance

  • ansible-trace: Visualise where time is spent in your Ansible playbooks: what tasks, and what hosts, so you can find where to optimise and decrease playbook latency.
  • 8 ways to speed up your Ansible playbooks: Integrate appropriate optimization techniques into your Ansible playbooks.
  • 5 ways to make your Ansible modules work faster: When it comes to complex and lengthy workflows, you need to consider how to optimize the way you use modules so you can speed up your playbooks.
  • Metrics endpoint: Available in the API: /api/v2/metrics/. It surfaces instantaneous metrics about the controller, which can be consumed by system monitoring software like the open source project Prometheus.
  • Ansible SDK for Python: The Ansible SDK provides a lightweight Python library for dispatching and live-monitoring Ansible tasks, roles, and playbooks from the product or project.

Testing

Red Hat Ansible Automation Platform

Installation

Ansible Automation Platform 2

Subscription

  • Certified Content: Beginning with Ansible 2.9, the Ansible Content Collection subsystem was included as fully supported by Red Hat, and the certified content should be using this packaging format and distributed via Ansible Automation Hub.
  • What is included in Red Hat Ansible Automation Platform subscription?: Self-Hosted and/or on-premises components; Automation controller, Private automation hub, Automation content navigator, Automation execution environments, Execution environment builder, Automation mesh, Ansible content tools, and Ansible Content Collections. Hosted Services on console.redhat.com; Red Hat Insights for Ansible Automation Platform, Automation hub, Automation services catalog.

Business value

Platform configuration collections

Validated content

  • Ansible Validated Content Submission: Ansible Validated Content is a program dedicated to providing curated but non-supported content through AAP to help customers perform common operational tasks based on Red Hat or partner-led expertise.

AWX

Upstream projects

Architecture

Backend Database

Container Groups

Execution Environments

  • The anatomy of automation execution environments: Automation execution environments are container images that act as Ansible runtimes for automation controller jobs. Ansible Automation Platform also includes a command-line tool called ansible-builder(execution environment builder)that lets you create automation execution environments by specifying Ansible Content Collections and Python dependencies.
  • Introduction to Ansible Builder: Ansible Builder is a tool that aids in the creation of Ansible Execution Environments.
  • When localhost isn't what it seems in Red Hat AAP 2: Now with Ansible Automation Platform 2, localhost means you’re running inside a container, which is ephemeral in nature. This means we must do things differently to achieve the same goal. For persisten storage you can run some form of shared storage solution, like Amazon S3, maybe Gist, or even just have a role to rsync data to your data endpoint. As a last resort, you can use automation controller’s isolated jobs paths to mount directories and files into an execution environment at runtime.

High Availability

Platform as Code

Considerations

AAP in the cloud (AWS, Azure, GCP)

RBAC and Authentication

LDAP

SAML

Internals

Python

Go

Network Automation

Working with Network Configurations

Network Inventory

Network Resource Modules

Arista

Aruba

Cisco

ACI

ASA

Cisco Unified Communications Manager (CallManager)

IOS

Software upgrade

Meraki

SD-WAN (Viptela)

  • Viptela Ansible Modules: An set of Ansible modules for automating a Viptela Overlay Network.
  • SDWAN DevOps: This repo contains a set of tools to automate workflows and build CI/CD pipelines for Cisco SDWAN.

F5

Juniper

NetBox

Palo Alto

Edge

  • Red Hat Device Edge Workshop: Focuses on deploying various workloads to a Device Edge endpoint, focusing on ease of updating the image to support the workload type and leveraging automation to deploy the workload.
  • Ansible Edge GitOps: Explores some of the possibilities of using an OpenShift-based Ansible Automated Platform deployment and managing Edge devices, based on work done with a partner in the Chemical space. This pattern uses OpenShift Virtualization (the productization of Kubevirt) to simulate the Edge environment for VMs.
  • How to automate devices using the Ansible CIP collection: Control embedded devices via the Common Industrial Protocol (CIP).

Kubernetes

Security

RHEL

Windows

Integrations

Service Now

Splunk

Terraform

Puppet

Projects

CMDB

  • Ansible Configuration Management Database: Ansible-cmdb takes the output of Ansible's fact gathering and converts it into a static HTML overview page (and other things) containing system configuration information.
  • AnsibleDB: Gives you the ability to quickly collect facts about your Infrastucture estate [linux, windows & network devices] and via our API, pull out the information important to you.

GUI

My Ansible Content

Roles

  • grafana_agent: Installs Grafana Cloud Agent on RedHat/CentOS or Debian/Ubuntu servers to collect observability data and sends it to Grafana Cloud.

Collections

  • capirca_acl: This collection includes a module (translate) to use Capirca from your Ansible playbooks.

Playbooks

  • ansible-kubernetes: Deploy managed Kubernetes clusters in the cloud: AKS, EKS and GKE.
  • ansible-web-server: Create a highly available web application on any cloud provider with Ansible.
  • ansible-webserver-azure: Automatically provision a number webserver instances behind a load balancer on Azure.
  • ansible-networking: Simple networking examples.
  • ansible-net-modules: Network Resource Modules Demo.
  • aws-testbed: Create reproducible Linux environments in the cloud.
  • ansible-cloud: Deploy virtual machines in AWS (Fedora, JunOS, Cisco IOS, CentOS, etc.).
  • ansible-snow: Ansible Tower workflow with Cisco and Service Now Collections.
  • ansible-backup: Creates a backup of your Tower setup and uploads it to AWS S3.
  • ansible-home: Collection of playbooks I run in my personal home-lab.
  • ansible-rhpds: Request a Red Hat Product Demo System (RHPDS) Sandbox.
  • ansible-workflow: An attempt to document Ansible Tower workflows as code.
  • check-calendar: Simple app to verify whether a time slot is taken/busy in Google Calendar from Ansible.

GitHub Actions

  • ansible-lint-action: My personal fork to be able to install Ansible collections and any other improvements that might be required.

Execution Environments

Inventories

Blog Posts