Red Hat Certified Engineer (RHCE) Ansible Automation Study Guide - Helion

ISBN: 9781098162092
stron: 214, Format: ebook
Data wydania: 2025-05-27
Księgarnia: Helion
Cena książki: 177,65 zł (poprzednio: 206,57 zł)
Oszczędzasz: 14% (-28,92 zł)
With the Ansible automation tool, developers and system administrators in the enterprise can automate the provisioning, configuration, and management of distributed and on-premises systems. This study guide prepares you for the Red Hat Certified Engineer (RHCE) certification exam, 90% of which covers Ansible.
Alex Soto Bueno, director of developer experience at Red Hat, and Andrew Block, Distinguished Architect at Red Hat, walk you through all the material covered in the exam. You'll begin with foundational concepts that build on one another and then dive into specific exam topics. The performance-based exam requires a deep knowledge of Ansible systems and tasks under time pressure. This comprehensive guide is the ideal way to prepare.
With this book, you will:
- Learn how Ansible can simplify your day-to-day operations
- Solve real-world Ansible problems in a hands-on command-line environment
- Learn how to install Ansible and set up managed environments
- Use ad hoc commands and include them in scripts as requested in the exam
- Prepare your Ansible configuration file and inventory file
- Install virtualization software
- Set up and prepare nodes, including SSH key-based authentication
- Install required Ansible packages
- And more
Osoby które kupowały "Red Hat Certified Engineer (RHCE) Ansible Automation Study Guide", wybierały także:
- Biologika Sukcesji Pokoleniowej. Sezon 3. Konflikty na terytorium 124,17 zł, (14,90 zł -88%)
- Windows Media Center. Domowe centrum rozrywki 66,67 zł, (8,00 zł -88%)
- Podręcznik startupu. Budowa wielkiej firmy krok po kroku 93,13 zł, (14,90 zł -84%)
- Ruby on Rails. Ćwiczenia 18,75 zł, (3,00 zł -84%)
- Scrum. O zwinnym zarz 78,42 zł, (14,90 zł -81%)
Spis treści
Red Hat Certified Engineer (RHCE) Ansible Automation Study Guide eBook -- spis treści
- Preface
- Who Should Read This Book
- Why We Wrote This Book
- Navigating This Book
- Conventions Used in This Book
- Using Code Examples
- OReilly Online Learning
- How to Contact Us
- Acknowledgments
- Alex Soto
- Andrew Block
- 1. Exam Details and Resources
- Why Should You Be Certified?
- EX294 Prerequisites
- Topics Covered in the Exam
- Information About Certifications
- Exam Details
- 2. Introduction to Ansible
- Ansible Overview
- Why Ansible?
- Ansible Nodes
- Ansible Modules
- Installing and Running Ansible
- Installing Ansible
- Remote Machine Setup
- Host and guest machines
- Oracle VM VirtualBox
- Vagrant
- Cleaning Up
- Core Ansible Components
- Hosts
- Groups
- Adding variables to inventory
- Multiple inventory files
- CLI Tools
- ansible CLI
- ansible-playbook
- Other CLI tools
- Host Patterns
- Configuring Ansible
- Hosts
- Ad Hoc Commands
- Rebooting Servers
- Managing Users
- Gathering Facts
- Conclusion
- Ansible Overview
- 3. Ansible Playbooks
- What Is an Ansible Playbook?
- An Example Playbook
- Executing a playbook
- Execution strategies
- Forks
- Setting the Batch Size
- Ordering Execution Based on Inventory
- Running on a single machine
- Restricting execution
- An Example Playbook
- Structure of Ansible Playbooks
- An Example Playbook Structure
- Variables
- Roles
- Handlers
- Tasks
- Includes and imports
- Blocks
- Tags
- Register
- Collections
- An Example Playbook Structure
- Running Your First Playbook
- Environment
- Application
- Creating the Inventory and Playbook Files
- Conclusion
- What Is an Ansible Playbook?
- 4. Variables and Host Management
- Ansible Facts
- Setup Module
- Fact Variables
- Disabling Gathering Facts
- Ansible Variables
- Simple, List, and Dictionary Variables
- Simple variables
- List variables
- Dictionary variables
- Setting Variable Values
- Playbooks
- Files
- host_vars
- group_vars
- Inventory
- Runtime
- Variable precedence
- Simple, List, and Dictionary Variables
- Protecting Sensitive Data
- Encrypting Data
- Decrypting
- Host Management
- Using Ranges
- Grouping Groups
- Organizing Inventory in a Directory
- Dynamic Inventories
- Ansibles Docker Inventory Plug-In
- Conclusion
- Ansible Facts
- 5. Flow Control
- Loops
- Using Loops
- Registering Variables
- Pausing
- Indexing
- Special Variables
- Retrying Tasks Until a Condition Is Met
- Conditionals
- First Example with a Conditional
- Using Conditionals
- Conditionals with registered variables
- Conditionals with standard variables
- Conditionals with Reusable Tasks
- Conditions in imports
- Conditions in includes
- Conditions in roles
- Jinja2
- Handlers
- Grouping Handlers
- Flushing Handlers
- Error Management
- Ignoring Failed Commands
- Defining Failure
- Defining Change
- Aborting a Play
- Blocks
- Grouping Tasks with Blocks
- Error Handling with Blocks
- Conclusion
- Loops
- 6. Managing Files and Resources
- Modules to Manage Files and Folders
- file Module
- archive/unarchive Module
- assemble Module
- copy Module
- fetch Module
- stat Module
- line/block infile Module
- Common Configuration Parameters for Modules
- Templates
- Jinja2
- Flow Statement
- Macros
- Include
- Blocks
- Filters
- Lookup
- Conclusion
- Modules to Manage Files and Folders
- 7. Module Development
- What Is a Module?
- Ansible Doc
- Listing Modules
- Getting Module Documentation
- Developing Modules
- Preparing the Directory
- Module Code
- Using the Module
- Executing the Playbook
- Conclusion
- 8. Ansible Roles and Collections
- Ansible Roles
- Downloading Roles from Ansible Galaxy
- An Example of a Role
- Using a Role in a Playbook
- Order of Execution
- Developing a Role
- Scaffolding the Role
- Implementing the Role
- Using the Role
- Handlers in Roles
- Sharing a Role
- Final Notes About Roles
- Ansible Collections
- POSIX Ansible Collections
- Creating an Ansible Collection
- Conclusion
- Ansible Roles
- 9. Execution Environments
- The Basics of Execution Environments
- The Challenge of Managing Automation Consistently
- Execution Environment Composition
- Building Execution Environments
- Installing Ansible Builder
- Defining an Execution Environment
- Build arguments
- Galaxy
- Python
- System
- Images
- Additional build files
- Additional custom build steps
- Performing an Execution Environment Build
- Automation Content Navigator
- Installing Automation Content Navigator
- Working with Automation Content Navigator
- Automation Content Navigator commands
- Automation Content Navigator basics
- Configuring Automation Content Navigator
- Running Playbooks
- Creating an example playbook
- Conclusion
- The Basics of Execution Environments
- 10. Managing Systems with Ansible
- Managing Keys
- SSH Authorization Keys
- SSH Key-Based Authentication
- Authorized Key Module
- Managing Disks
- Managing a Filesystem with the filesystem Module
- Mounting a Device
- Managing a Filesystem with the parted Module
- Logical Volume Management
- Scheduling Tasks with cron Jobs
- Managing Security
- SSH Configuration
- YUM Repositories
- SELinux
- Installing the role
- Examples
- Conclusion
- Managing Keys
- Index