Automated Smart Management Workshop: Automating Patch Management

Read this in other languages:
uk English, france Français.

In this part of the workshop, we will learn how to leverage the use of workflows in Ansible Automation Platform to orchestrate patch management for several linux servers . Automating patch management reduces human error and improves configuration and patch accuracy. Additionally, automation provides capabilities to reduce the manual input associated with identifying, testing and patching systems. Using Automation Platform enables more complicated patching scenarios.

Environment

Pre-requisites

Exercise

1. Logging into the Ansible Automation Platform

login screen

dashboard

2. Creating a new Patching Workflow

Now we will start configuring a workflow that encompasses publishing a content view, promoting a content view, a fact scan, as well as a server patching. The goal is to publish a new content view and promote our rhel7_DEV environment to QA.

workflow start

workflow inventory source

workflow inventory source

This step in the workflow adds your first job template which runs a playbook called ‘satellite_publish.yml’.

At this point your workflow should resemble the following:

workflow factscan

Click ‘Next’. You will then need to ‘Save’ the preview.

Your workflow should resemble the following:

workflow final

You can now save and exit the workflow template.

3. Logging into Satellite

Satellite login

Satellite dashboard

4. Exploring the Satellite host configuration

Satellite content hosts

Satellite RHEL7 CV

5. Navigate back to Ansible and let’s launch the workflow job

AAP Workflow in progress

6. Navigate back to Satellite to examine smart automation

errata reduced

kernel patches excluded

7. End Lab