Muutke küpsiste eelistusi

E-raamat: Red Hat Certified Engineer (RHCE) Study Guide: Ansible Automation for the Red Hat Enterprise Linux 8 Exam (EX294)

  • Formaat: PDF+DRM
  • Ilmumisaeg: 12-Mar-2021
  • Kirjastus: APress
  • Keel: eng
  • ISBN-13: 9781484268612
  • Formaat - PDF+DRM
  • Hind: 49,39 €*
  • * hind on lõplik, st. muud allahindlused enam ei rakendu
  • Lisa ostukorvi
  • Lisa soovinimekirja
  • See e-raamat on mõeldud ainult isiklikuks kasutamiseks. E-raamatuid ei saa tagastada.
  • Formaat: PDF+DRM
  • Ilmumisaeg: 12-Mar-2021
  • Kirjastus: APress
  • Keel: eng
  • ISBN-13: 9781484268612

DRM piirangud

  • Kopeerimine (copy/paste):

    ei ole lubatud

  • Printimine:

    ei ole lubatud

  • Kasutamine:

    Digitaalõiguste kaitse (DRM)
    Kirjastus on väljastanud selle e-raamatu krüpteeritud kujul, mis tähendab, et selle lugemiseks peate installeerima spetsiaalse tarkvara. Samuti peate looma endale  Adobe ID Rohkem infot siin. E-raamatut saab lugeda 1 kasutaja ning alla laadida kuni 6'de seadmesse (kõik autoriseeritud sama Adobe ID-ga).

    Vajalik tarkvara
    Mobiilsetes seadmetes (telefon või tahvelarvuti) lugemiseks peate installeerima selle tasuta rakenduse: PocketBook Reader (iOS / Android)

    PC või Mac seadmes lugemiseks peate installima Adobe Digital Editionsi (Seeon tasuta rakendus spetsiaalselt e-raamatute lugemiseks. Seda ei tohi segamini ajada Adober Reader'iga, mis tõenäoliselt on juba teie arvutisse installeeritud )

    Seda e-raamatut ei saa lugeda Amazon Kindle's. 

Study the material in this book to prepare for the RHCE exam EX294 and to learn how using Ansible within your own environment improves system administration productivity.

This book covers all of the objectives of the exam and extends further, ensuring that you know how to use Ansible to manage Linux. The book uses CentOS, a Red Hat-based distribution, and Ubuntu instead of using a single Red Hat distribution. By using the two distributions, you will understand the power of Ansible and how easily you can deal with multiple platforms, which is crucial for your understanding of Ansible in the real world.

The book assumes no previous knowledge of Ansible but some knowledge of Linux system administration from the command line. You will learn how to manage Linux systems that are installed with different distributions, including CentOS Enterprise Linux 8 and Ubuntu 18.04. You will be able to manage these systems using ad hoc commands from the command line as well as creating Ansible playbooks that can be replayed reliably many times. To save on the code that you have to create, you will learn how to use Ansible Galaxy to search for and download roles and collections that are pre-written to manage elements of your Linux installations. By the end of this book, you will be able to write efficient and effective YAML playbooks to manage your entire estate.


What You Will Learn

  • Prepare systems so that password-less access can be used with Ansible remotely
  • Use ad hoc commands to quickly configure systems
  • Use and format YAML files correctly
  • Create playbooks that grow in their complexity as your experience develops
  • Ensure that services are restarted on configuration changes


Who This Book Is For

Those who want to prepare for the RHCE exam EX294 and readers who want to learn how to use Ansible to improve the productivity of their system administration. This book will help you prepare yourself for the exam as well as your real-life administration needs.




Beginning-Intermediate user level
About the Author xi
About the Technical Reviewer xiii
Introduction xv
Chapter 1 Understanding Ansible and the Red Hat RHCE 1(10)
Red Hat and Ansible
2(1)
Red Hat Certifications
3(1)
RHCSA
3(1)
RHCE
4(1)
Lab Systems
4(4)
Installing Ansible on CentOS 8
5(2)
Installing Ansible on Ubuntu 18.04
7(1)
Summary
8(3)
Chapter 2 Working with the Ansible Configuration 11(18)
Ansible Configuration Hierarchy
12(14)
Printing the Ansible Configuration
18(5)
Creating a Basic Ansible Configuration File
23(3)
Summary
26(3)
Chapter 3 Creating an Ansible Inventory 29(18)
Creating an Inventory
30(2)
Query Inventory Entries
32(3)
Listing Inventory Hosts Using Ansible
33(2)
Listing Hosts Using Ansible-Inventory
35(4)
Adding Host and Group Entries
38(1)
Discovering Hosts on Your Network
39(3)
Inventory Variables
42(3)
Summary
45(2)
Chapter 4 Using Ad Hoc Commands and Ansible Preparation 47(16)
Testing Ansible
48(5)
Implementing Ansible Inventory Groups
53(6)
Preparing the User Account for Ansible
55(1)
Creating the User
55(1)
Allowing Passwordless Sudo Access
56(1)
SSH-Key Authentication
57(1)
Configuring the Final Changes
58(1)
Gaining Help on Modules
59(1)
Summary
60(3)
Chapter 5 Writing YAML and Basic Playbooks 63(16)
Writing Simple YAML Playbooks
64(8)
Elements of a Playbook
64(1)
Our First Playbook
65(4)
Extending the Playbook Using Facts
69(2)
Installing Multiple Packages
71(1)
Improving Text Editors
72(3)
Going All GUI
75(1)
Summary
76(3)
Chapter 6 Managing Users with Ansible Playbooks 79(22)
Playbook to Manage Users
80(7)
User Module Help
80(1)
Creating a Consistent User Account
81(2)
Using an Ansible Loop Control
83(2)
Deleting Users
85(1)
Using Variables and Logic with Playbooks
86(1)
Managing User Passwords
87(5)
Password Elements
87(2)
Authenticating Users
89(1)
Generating Passwords in Playbooks
90(2)
Using a Playbook to Create Managed Host Setup
92(8)
Summary
100(1)
Chapter 7 Working with Variables and Facts 101(12)
Gathering Facts
101(1)
Printing OS Information
102(1)
Upgrading Systems
103(5)
Installing Apache
108(3)
Summary
111(2)
Chapter 8 Working with Files and Templates 113(10)
The Copy Module
113(4)
Using SRC
114(1)
Content Is King
115(1)
Differing Fold Operators
116(1)
Editing Files in Place
117(3)
Using Templates
120(1)
Summary
121(2)
Chapter 9 Managing Services Using Ansible 123(12)
The Service Module
124(1)
The Systemd Module
124(2)
Using Ansible Handlers
126(3)
Ensure SSHD Started and Enabled
128(1)
Edit SSHD Config
128(1)
The Handler: restart_sshd
128(1)
Handlers Do Not Run when They Are Not Notified
129(1)
Service Facts
129(3)
Summary
132(3)
Chapter 10 Securing Sensitive Data with Ansible Vault 135(8)
Creating an External Variables File
136(2)
Encrypt Existing YAML File
138(1)
Creating New Encrypted Files
139(2)
Read Vault Password
141(1)
Summary
142(1)
Chapter 11 Implementing a Full Apache Deployment 143(18)
Deploying Apache
143(9)
Apache Playbook
145(1)
Dedicated Server Page
146(1)
All About Firewalls
147(3)
The Apache Configuration File
150(2)
Configure Filesystem Security
152(3)
Full Apache Playbook
155(3)
Summary
158(3)
Chapter 12 Simplifying Playbooks Using Roles 161(14)
Understanding Roles
161(2)
Creating Firewall Role
163(10)
Populating the Firewall Role
164(2)
Updating the Apache Playbook
166(1)
Configure Role for Web Content
167(3)
Creating the Apache Role
170(3)
Execution Order
173(1)
Summary
173(2)
Chapter 13 Downloading Roles 175(20)
Roles and Collections
175(2)
Searching Roles From the CLI
176(1)
Installing the PHP Role
177(10)
Investigating PHP Role and Learning Better Coding
177(4)
Installing PHP
181(2)
Adding Extra PHP Modules
183(2)
Code Blocks and Extra Configuration for Ubuntu
185(2)
Install the Database Role
187(5)
Create Variable File
187(1)
Installing the MySQL Role and Implementing a Database Server
188(2)
Opening MySQL Firewall Port
190(2)
Summary
192(3)
Chapter 14 Configuring Storage with Ansible 195(22)
Block Devices
196(2)
Creating Loopback Devices
196(2)
Partitioning Disks and Mounting Filesystems
198(3)
Managing Logical Volumes
201(2)
Managing VDO with Ansible
203(7)
Updating a Managed Host
203(3)
Updating the Controller
206(1)
Deploying VDO
207(3)
Archiving Files
210(1)
Maintenance of Filesystems
211(4)
Summary
215(2)
Chapter 15 Managing Scheduled Tasks with Ansible 217(6)
Ad Hoc Linux Jobs with ATD
217(3)
Creating the Ansible Role to Manage ATD
218(1)
Playbook to Create Jobs in At
218(2)
Creating Regular Jobs with Cron
220(1)
Summary
221(2)
Index 223
Andrew Mallett is a well-known Linux consultant and trainer, and his YouTube Channel has over 65K subscribers and more than 1,000 videos. Working mainly online now, he has authored courses on both Pluralsight and Udemy, and regularly teaches classes online to a worldwide audience. Andrew is familiar with Linux and UNIX and has worked with them for over 20 years. Scripting and automation is one of his passions as he is inherently lazy and will always seek the most effective way of getting the job done. The Urban Penguin, his alter ego, is a UK-based company where he creates his work and currently employs five people.