Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Demystifying Ansible Automation Platform

You're reading from   Demystifying Ansible Automation Platform A definitive way to manage Ansible Automation Platform and Ansible Tower

Arrow left icon
Product type Paperback
Published in Sep 2022
Publisher Packt
ISBN-13 9781803244884
Length 314 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Sean Sullivan Sean Sullivan
Author Profile Icon Sean Sullivan
Sean Sullivan
Arrow right icon
View More author details
Toc

Table of Contents (21) Chapters Close

Preface 1. Part 1: Getting Ansible Automation Platform Up and Running
2. Chapter 1: Introduction to Ansible Automation Platform FREE CHAPTER 3. Chapter 2: Installing Ansible Automation Platform 4. Chapter 3: Installing Ansible Automation Platform on OpenShift 5. Chapter 4: Configuring Settings and Authentication 6. Part 2: Configuring AAP
7. Chapter 5: Configuring the Basics after Installation 8. Chapter 6: Configuring Role-Based Access Control 9. Chapter 7: Creating Inventory, and Other Inventory Pieces 10. Chapter 8: Creating Execution Environments 11. Chapter 9: Automation Hub Management 12. Chapter 10: Creating Job Templates and Workflows 13. Part 3: Extending Ansible Tower
14. Chapter 11: Creating Advanced Workflows and Jobs 15. Chapter 12: Using CI/CD to Interact with Automation Controller 16. Chapter 13: Integration with Other Services 17. Chapter 14: Automating at Scale with Automation Mesh 18. Chapter 15: Using Automation Services Catalog 19. Index 20. Other Books You May Enjoy

Backup and restore options using CI/CD playbook

Backup and restore commands should not be run as jobs or templates on the Automation controller they are being used against. This makes them ideal candidates for CI/CD playbooks. These playbooks use the same configuration files from Chapter 2, Installing Ansible Automation Platform, and uses them to backup and restore an AAP installation. For demonstration purposes, these files are available in this chapter’s repository.

The playbook takes several inputs as follows:

  • aap_setup_down_offline_token: Token to be used to download the setup file. It can be generated at https://access.redhat.com/management/api/.
  • aap_setup_working_dir: Working directory to download the setup file, create inventory, and do other work.
  • aap_backup_dest: Destination directory for the backup file.
  • aap_setup_down_version: Version of AAP to download, currently 2.2. By default, the downloader will grab the latest.

The playbook will...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime