Ansible Smart MGMT
Ansible Smart MGMT
Ansible Smart MGMT
4
Many organizations share the same challenge
Too many unintegrated, domain-specific tools
Consistent governance
Cloud
Edge Datacenter
Line of business
Do this...
Orchestrate Manage configurations Deploy applications Provision / deprovision Deliver continuously Secure and comply
On these...
9
Gartner: Customers losing $300,000 per
hour on average due to IT downtime
Satellite can …. AAP can …. Together Satellite and AAP can ...
Ansible Automation
Start Small
Quick automation victories for systems operators
✓ ✓ ✓
Workbench Topology
Automation Platform
○ Red Hat Satellite
RHEL Nodes CentOS Nodes
node1 node4
● Red Hat Enterprise Linux
node2 node5
node3 node6
● CentOS Linux
How does it work?
Activation
Content View Keys
Developer definitions
IDE
Content
Repository definitions Views
Inventory
Developer
IDE Inventory definitions
Inventory
Source
Job Template
definitions
Job
Templates
an OpenSCAP scan
https://www.gartner.com/document/3981432
Compliance management adds complexity
• Health Insurance Portability and Accountability Act (HIPAA) • Gap analysis reports
• Audit and remediation baselines
• Federal Risk and Authorization Management Program (FedRAMP)
and more
Security automation with OpenSCAP
Red Hat’s security scanner is included with Red Hat Enterprise Linux and Red Hat Satellite
Automation support
Red Hat® Ansible® Automation remediation Playbooks provided and
supported by Red Hat
Customizable content
Content customization through SCAP Workbench graphical interface
OpenSCAP Workflow
Using Ansible Automation Platform to automate OpenSCAP in your environment
node2
node3
4 - Completed scan
5 - Controller results uploaded to
reports scan process Satellite
completed;
host asset report node4
available on Satellite
Lab Time
Complete exercise 1-openscap now in your lab environment
~35 minutes
Exercise 2
Patch Management
-Gartner
https://www.gartner.com/document/3981432
Satellite and Ansible Controller Integration
Documented best practices to help optimize use of both products
Dynamic Inventory
Allows Ansible Controller to use Satellite as a dynamic
inventory and source of current systems state
Post-Provision
Provides systems provisioned via Satellite a means to
“callback” to Ansible Controller for post-provisioning
playbook runs
Automated Patching Solution
Using Ansible Automation Platform to automate patches through your environment
node2
node3
4 - Controller
reports that “Ansible reduced the time required for
patching has regular patching by 75%”
completed node4
- Global Infrastructure Provider
Lab Time
Complete exercise 2-patching now in your lab environment
~35 minutes
Exercise 3
CentOS to RHEL conversion
▸ Our CentOS 7 nodes are registered to the Satellite system via a complete CV/LE/Activation Key
arrangement where we are mirroring what a traditional RHEL7_Dev, RHEL7_QA, RHEL7_Prod env looks like
and doing the same, only backed by custom CentOS repositories underpinning everything. We use
subscription-manager on the CentOS nodes to register the nodes with the Satellite
▸ Utilize the Convert2RHEL tool (Disclaimer: backup, test. backup, test. backup, test...)
▸ Conversion source of RHEL packages:
・ Custom repositories (FTP, mounted ISO, etc.)
・ Red Hat Subscription Manager (CDN or Satellite) -- Satellite utilized for this exercise
▸ Roll back is possible up to the point-of-no-return, but users are advised to perform a complete system
backup prior running the utility (remember the disclaimer?).
▸ All actions accomplished via Ansible roles, providing a greater understanding and following of migration
process, permitting easier customization/specialization for individual conversion/migration requirements via
Ansible Controller workflows on a case-by-case basis.
Exercise Resources
AAP-trial
facebook.com/ansibleautomation
twitter.com/ansible
twitter.com/RedHatSatellite
github.com/ansible
github.com/RedHatSatellite