Ansible Book
Ansible Book
Ansible
Automation
Platform
A beginner’s guide
Choose the right path for
your automation journey
01 Introduction
Do you have some experience in automation?
Start here and then jump into the chapters below to
take you along your automation journey.
Chapter 1
Chapter 2 Chapter 3
Chapter 3 Chapter 5
33
Chapter 4 Chapter 6
Chapter 5
32
Chapter 6
How to get started
Introduction Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6
Introduction
Automation has helped
companies operate efficiently
since the industrial revolution. Automation in the past 12 months 1
- Harvard Business Review Analyics Services
68%
While IT automation, including scripts, hasn’t been around say that IT automation at their
for quite that long, it’s increasingly commonplace in many organization is a “must have.”
organizations. In fact, according to a recent pulse survey
80%
by Harvard Business Review Analytic Services, automation say that adopting IT automation is
is so widespread that 68% of respondents agree that IT “extremely important” to the
automation at their organization has shifted from a "nice to future success of their organization.
have" to a "must have" in the past 12 months.1
1
Harvard Business Review Analytic Services, sponsored by Red Hat. “Taking the lead on IT automation: IT leaders as evangelists for their automation strategies,” Jan. 2022.
2
Horton, Richard, Justin Watson, et al. “Automation with intelligence: Pursuing organization-wide reimagination,” Deloitte Insights, 25 Nov. 2020.
2
Introduction Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6
• Faster innovation.
agreements (SLAs).
3
IDC White Paper, sponsored by Red Hat. “IT automation: A life raft to IT leaders drowning in a sea of workforce and business challenges,” Doc#US48308621, Oct. 2021.
3
Introduction Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6
4
Introduction Chapter 11
Chapter Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6
A brief look at
Red Hat Ansible
Automation Platform
25
That's how long Red Hat has
delivered open source solutions
hardened for stability that simplify
how organizations work across
years
platforms and environments and
address enterprise IT challenges.
5
Introduction Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6
52.2K stars⁴
19,100 Microsoft/Vscode
13,000 Flutter/Flutter
11,600 Firstcontributions/First-Contributions
62K followers⁴
Number of contributers
Ansible Twitter
9,900 Tensorflow/Tensorflow
9,100 Facebook/React-native
6,900 Kubernetes/Kubernetes
6,900 Definitelytyped/Definitelytyped
Ansible/Ansible
6,800
6,800 Ansible/Ansible
⁴
6,300 Home-assistant/Home-assistant
contributers
Find out how Red Hat Ansible Automation can bring tangible business
benefits to your organization in Chapter 2.
4
“State of the Octoverse” GitHub, 2019.
6
Introduction Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6
5
Red Hat report. "2022 Global Tech Outlook," Oct. 2021.
6
IDC White Paper “The business value of Red Hat Ansible Automation Platform.” Doc#US47989320. Oct. 2021.
7
Introduction Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6
Reliability:
•
76% reduction in unplanned downtime
•
30% more efficient IT security teams
IT staff:
•
30% more efficient IT infrastructure teams
•
29% more efficient network infrastructure management teams
•
75% faster deployment of new storage resources
•
39% more applications developed per year
•
50% improvement in securing
•
48% improvement in provisioning
•
38% improvement in configuring
•
25% less time spent on maintenance work
•
59% more time spent on innovation and other activities
8
Introduction Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6
Emory University
9
Introduction Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6
1 Greater efficiency
Your staff can spend more time making a bigger impact on your business.
Leave the rote repetition to automation.
Lorem ipsum
2 Better reliability
3 Transparent governance
Now that we've looked at the benefits of using Ansible Automation Platform, it’s time
to explore how to access those benefits, including some of the top features of the
platform, in Chapter 3.
10
Introduction Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6
A closer look at
Red Hat Ansible
Automation Platform
Whether you want to automate infrastructure, applications,
networks, containers, security, your cloud environment, or
all of the above, Red Hat Ansible Automation Platform can
help you create, manage, and scale automation in one place.
1
Red Hat Ansible Automation Platform
uses playbooks in YAML format.
11
Introduction Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6
2
Red Hat Ansible Automation
Platform is agentless.
3
Red Hat Ansible Automation Platform is
built for the hybrid cloud.
12
Introduction Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6
4
Red Hat Ansible Automation Platform has
built-in compliance and governance constructs.
13
Introduction Chapter 1 Chapter 2 Chapter 3 Chapter 44
Chapter Chapter 5 Chapter 6
Red Hat Ansible Automation Breaking down barriers between systems and teams across
the organization, Ansible Automation Platform gives
Platform is designed to set diversified teams the automation tools they need for
your entire automation team their specific roles, while collaborating with a connected,
supported, and security-focused, enterprise-wide solution.
up for success.
Architects
Administrators
Developers
14
Introduction Chapter 1 Chapter 2 Chapter 3 Chapter 44
Chapter Chapter 5 Chapter 6
Automation developers need tools that can help them can benefit from DevOps tooling and plug-ins, access
create Ansible Playbooks, Ansible Roles, and modules to pre-existing certified content to build from, and
and then test them locally to ensure they run the same container-native architecture for both building and testing.
way when moved to production. Automation developers
Automation hub
15
Introduction Chapter 1 Chapter 2 Chapter 3 Chapter 44
Chapter Chapter 5 Chapter 6
Automation architects
Tasked with elevating automation across teams to when automation architects must plan for future and
align with IT processes and with streamlining adoption, current needs. Additionally, automation architects benefit
automation architects need tools that not only expand from Ansible Automation Platform’s agentless framework,
automation across the organization but ones that can along with the entire Ansible technology ecosystem,
also help to manage automation policy and governance. which integrates efficiently with existing investments.
Red Hat Ansible Automation Platform provides
container-native architecture, which offers flexibility
16
Introduction Chapter 1 Chapter 2 Chapter 3 Chapter 44
Chapter Chapter 5 Chapter 6
17
Introduction Chapter 1 Chapter 2 Chapter 3 Chapter 44
Chapter Chapter 5 Chapter 6
Designed to reduce service desk ticket requests All automation team members interact with or
for common services, the automation services rely on the automation controller, and it’s up to
catalog empowers users to manage requests automation administrators and operators to
themselves. This self-service capability makes ensure the automation platform and framework
modeling and delivery easier, as automation are operational. Their administrative tasks are
operators can take advantage of automation aided by automation controller’s user interface,
along with automation developers and architects. browsable application programming interface
(API), RBAC, job scheduling, integrated
notifications, graphical inventory management,
continuous integration/continuous delivery (CI/CD)
integrations, and workflow visualizer functions.
18
Introduction Chapter 1 Chapter 2 Chapter 3 Chapter 44
Chapter Chapter 5 Chapter 6
Private automation hub Red Hat Insights for Red Hat Ansible
Automation Platform
The execution environment container image Insights for Ansible Automation Platform helps
repository for Ansible Automation Platform, keep the automation solution running efficiently
the private automation hub, is hosted locally. and simplifies optimization by reporting on
It is intended for organizations running Ansible automation projects across your infrastructure and
Automation Platform on physical or virtual machines. pinpointing where specific jobs are failing.
Automation mesh
Now that we’ve explored who uses automation, let's look at where
and how they might use it in Chapter 5.
19
Introduction Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6
Where to integrate
automation into
your organization
Accelerate
Work faster with the power of Ansible’s massive open
source community and prebuilt content collections of
the most-used Ansible Roles and modules. Codify
your infrastructure and share across teams and
environments where you’re already running
deployments, whether on-premise or in the cloud.
Orchestrate
Efficiently transfer your automation into multiple
domains and across different use cases and teams
without slowing down development time.
Innovate
Take automation even further with analytics, policy
and governance, and content management. Ansible
Automation Platform provides tools that make
day-to-day work more efficient, helping you solve
problems once and share the results with everyone.
20
Introduction Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6
Build, provision, and manage applications and Manage entire network and IT processes
infrastructure across public or private cloud, across physical, software-defined, and
containers, and virtual environments, including: cloud-based networks.
Red Hat Enterprise Linux®, Microsoft Windows and
Windows Server, other Linux operating systems,
VMware Vsphere, SAP, and others. Automate your
Configuration management
infrastructure to mitigate configuration drift and Back up and restore network devices from multiple
incorporate repeatability of code. vendors and move towards the next generation of
network management by using an infrastructure-
as-code approach to automate network operations.
CI/CD pipelines with Ansible Collect network facts automatically from hundreds or
thousands of multivendor devices and then normalize
Automation Platform. this information to learn which devices and resources
need preventative maintenance to avoid outage risks
and unnecessary hardware refreshes.
Network validation
Examine the operational state of your network devices to
check for connectivity, protocols in use, and ensure
alignment with specific network compliance requirements.
21
Introduction Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6
5 Security automation
Orchestrate security systems using a curated
collection of modules, roles, and playbooks to
investigate and respond to threats. Coordinate your
enterprise security systems with Ansible Automation
Platform for investigation enrichment, threat
hunting, and incident response.
22
Introduction Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6
23
Introduction Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6
1 Start small but think big 2 Use, refine, learn, and expand
Begin with a simple use case, ideally something that Automation is a strategic imperative, so treat
needs to be repeated often but that provides value it as such as you implement and automate
early on. Once you get your use case working, grow more processes and systems.
and expand from there, potentially advancing to
something more complicated in the same domain.
Over time, add more domains. Remember,
implementing automation across your organization 3 Don’t start with a broken process
is an iterative process, not something that’s done
If a process is inefficient, automating it won’t make
once and then forgotten.
it better. Choose a process that works but could be
improved through automation.
New to automation but ready to take the first step? Jump to Chapter 6
24
Introduction Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6
The benefit of
Red Hat Ansible
Automation Platform
partnerships
25
Introduction Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6
You have less work to do when first finding and With an Ansible Automation Platform subscription,
assembling the different roles and modules you require. you have full access to Ansible automation hub, which
Plus, Ansible Content Collections are released and has over 100 certified content collections, composed
maintained independently of the main product versions, of over 40,000 modules curated for consistent and
allowing for a faster release cadence for content. compliant delivery.
100 certified
collections 40k modules
Now that you know about some of the latest benefits of deploying
Ansible Automation Platform across your organization, it might be Read more
time to move from a legacy platform to the latest offering.
26
Introduction Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6
Making a case
for migration
You may already have Red Hat Ansible Automation
Platform 1.2 installed in your organization, but the time
is right to migrate to Ansible Automation Platform 2.
27
Introduction Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6
If you are already a Red Hat customer, Experts from Red Hat Consulting can
please visit the Ansible Automation help guide you through the migration
Platform 2 page in the Red Hat process and answer any questions
Customer Portal, which consolidates you might have.
all our documentation and guidance
available to you.
28
Introduction Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6
Strategies for
automation adoption
29
Introduction Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6
This transition isn’t always an easy sell. Learn about the ROI and other efficiency
benefits that customers are realizing with Ansible
Automation Platform in this IDC whitepaper.
The good news is you’re not alone, and
there are many resources available with
strategies and tips to help you gain Read Tales from the field: A system
buy-in across your organization: administrator’s guide to IT automation, a
compilation of short stories that outline the
excitement, frustrations, successes, and
challenges of incorporating a holistic IT
automation mindset into organizations and
teams across the globe.
30
Introduction Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6
31
Introduction Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6
We can help.
Download an Ansible Automation
Choose the path that’s right for you.
Platform 60-day trial subscription.
Download now
Connect with Red Hat Services to
accelerate your time to value with a
Red Hat Services Smart Start: Ansible.
Work side by side with Red Hat experts as you receive a reference
instance of Ansible Automation Platform, core automation content,
and integration with external identity providers.
Find a partner
Get
Getstarted
startedwith
withafree,
free,introductory
introductory
Ansible training or find your place on
the Red Hat Ansible Automation
Platform skills path.
Get Started
started
Talk to Red Hat Technical Account
Management teams to help you take the
next step in your automation journey
Chat with us
Taking the
next step
33
About Red Hat
Red Hat is the world's leading provider of enterprise open source software solutions, using a community-powered approach to deliver reliable and high-performing
Linux, hybrid cloud, container, and Kubernetes technologies. Red Hat helps customers integrate new and existing IT applications, develop cloud-native applications,
standardize on our industry-leading operating system, and automate, secure, and manage complex environments. Award-winning support, training, and consulting
services make Red Hat a trusted adviser to the Fortune 500. As a strategic partner to cloud providers, system integrators, application vendors, customers, and open
source communities, Red Hat can help organizations prepare for the digital future.
© 2022 Red Hat, Inc. Red Hat, the Red Hat logo, and Ansible are trademarks or registered trademarks of Red Hat, Inc. or its subsidiaries in the United States and other
countries. Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.