GithubHelp home page GithubHelp logo

hoodielive / ansible_studies Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 4.65 MB

EX294 Preparation and General Ansible Studies

Shell 0.28% HTML 0.01% Python 99.29% Dockerfile 0.01% HCL 0.10% DIGITAL Command Language 0.01% Makefile 0.01% Ruby 0.01% Vim Script 0.01% Jinja 0.31%

ansible_studies's Introduction

EX294 Preparation and General Ansible Studies

Lab Setup

Note: I configured 5 servers for labs:

  • 10 Centos 8 Servers
  • 1 Ubuntu 20.04 Server
  1. Server1 8GB, IPA Server to have enterprise services such as Kerberos, DNS, MAIL, FTP, HTTPS, etc., (ipaserver.rhce.lab).
  2. Server2 8GB, Ansible Control Node (control-node.rhce.lab).
  3. Server3 2GB, Ansible Node1 (node1.rhce.lab).
  4. Server4 2GB, Ansible Node2 (node2.rhce.lab).
  5. Server5 2GB, Ansible Node3 (node3.rhce.lab).
  6. Server6 4GB, Ansible Node4 (mail.rhce.lab).
  7. Server7 4GB, Ansible Node5 (db01.rhce.lab).
  8. Server8 4GB, Ansible Node6 (db02.rhce.lab).
  9. Server9 2GB, Ansible Node7 (web01.rhce.lab).
  10. Server10 2GB, Ansible Node8 (web02.rhce.lab).
  11. Server11, 8GB, Ansible Node9 (pulp.rhce.lab).

Partition Scheme

  1. 100Gb VHD on rootvg
  • 2GB /boot xfs
  • 10GB /home xfs
  • 25GB / xfs (root)
  • 40GB /var xfs
  • 6GB swap
  • 14GB free space

IP Address Space in VBOX

  1. Private Host IP Range on the 10.0.3.0/24 subnet - rhce.lab (namespace).
  2. I have enabled port-forwarding for NAT for 10.0.3.10 as my Bastion server interface.
  • IPA Server 10.0.3.2/24
  • Ansible Control Node 10.0.3.10/24
  • Ubuntu 20.04 - Node1 10.0.3.11/24
  • Centos 8 - Node2 10.0.3.12/24
  • Centos 8 - Node3 10.0.3.13/24

EX294 Objectives

As an RHCE exam candidate, you should be able to handle all responsibilities expected of a Red Hat Certified System Administrator, including these tasks:

Be able to perform all tasks expected of a Red Hat Certified System Administrator

  • Understand and use essential tools
  • Operate running systems
  • Configure local storage
  • Create and configure file systems
  • Deploy, configure, and maintain systems
  • Manage users and groups
  • Manage security

Understand core components of Ansible

  • Inventories
  • Modules
  • Variables
  • Facts
  • Plays
  • Playbooks
  • Configuration files
  • Use provided documentation to look up specific information about Ansible modules and commands

Install and configure an Ansible control node

  • Install required packages
  • Create a static host inventory file
  • Create a configuration file
  • Create and use static inventories to define groups of hosts
  • Manage parallelism

Configure Ansible managed nodes

  • Create and distribute SSH keys to managed nodes
  • Configure privilege escalation on managed nodes
  • Validate a working configuration using ad hoc Ansible commands

Script administration tasks

  • Create simple shell scripts
  • Create simple shell scripts that run ad hoc Ansible commands

Create Ansible plays and playbooks

  • Know how to work with commonly used Ansible modules
  • Use variables to retrieve the results of running a command
  • Use conditionals to control play execution
  • Configure error handling
  • Create playbooks to configure systems to a specified state

Use Ansible modules for system administration tasks that work with:

  • Software packages and repositories
  • Services
  • Firewall rules
  • File systems
  • Storage devices
  • File content
  • Archiving
  • Scheduled tasks
  • Security
  • Users and groups

Work with roles

  • Create roles
  • Download roles from an Ansible Galaxy and use them

Use advanced Ansible features

  • Create and use templates to create customized configuration files
  • Use Ansible Vault in playbooks to protect sensitive data
  • Create and use templates to create customized configuration files
  • Work with Ansible variables and facts
  • Create and work with roles
  • Download roles from an Ansible Galaxy and use them Manage parallelism
  • Use Ansible Vault in playbooks to protect sensitive data
  • Use provided documentation to look up specific information about Ansible modules and commands

As with all Red Hat performance-based exams, configurations must persist after reboot without intervention.

ansible_studies's People

Contributors

hoodielive avatar

Watchers

 avatar  avatar

Forkers

gr8alex

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.