TP2782

Ansible Configuration and Administration Training

This Ansible course teaches attendees how to configure, administer, and implement this powerful system management and configuration tool, including successfully using its methods, techniques, and capabilities.

Learn best practices for configuring the Ansible control node and understand its impact on the Linux system.

Course Details

Duration

4 days

Prerequisites

  • Basic scripting knowledge (bash, ksh, Perl, or Python)
  • Understanding of fundamental system utilities/commands on Linux and Windows systems

Target Audience

  • Systems Administrators
  • Software Developers
  • Application Testers
  • Quality Assurance Personnel

Skills Gained

  • Install and configure Ansible control-node and managed-node(s)
  • Use Ansible from the command line
  • Create and run playbooks
  • Use standard Ansible modules
  • Create and modify hosts (inventory) definitions
  • Create, install, and publish with the Ansible Galaxy
  • Design a best practice strategy for using Ansible capabilities
  • Learn the usage and capabilities of the Ansible Tower
Course Outline
  • Introduction
    • software development (cycle) considerations
    • strengths and weaknesses of Ansible
    • Ansible terminology
    • Ansible required environment setup
  • Initial Setup and Configuration
    • Ansible Core installation (package method)
    • Ansible component locations
    • Ansible documentation
    • Ansible configuration file
    • inventory (hosts) file (Linux and Windows nodes)
    • (gathering) system facts
    • local facts
  • Ansible (ad-hoc) Command Line Usage
    • usage in single module control
    • testing a module across multiple nodes
  • Ansible Playbooks
    • layout of playbook sections and blocks
    • variable creation and usage
    • sections : hosts, variables, tasks, handlers, checking for success / failure
    • controls : loops, conditionals, tags, notifications, plugins, filters, and lookups
    • using modules in playbooks
    • running as root
  • Ansible Modules
    • layout of an Ansible module
    • Linux modules :  file, yum, systemd, cron, user, shell, filesystem
    • using the windows specific (win_) modules
    • common Linux and Windows modules
  • Roles Ansible
    • overview of a role
    • creating a role (structure)
    • using (a) role(s)
    • packaging up a role
    • Ansible Galaxy - capabilities and usage with roles
    • (local) Git code / role repo
    • (remote) Git repo role access
    • define role dependencies
    • download role definitions (Ansible Galaxy)
  • Managed Nodes
    • requirements for a Linux managed node
    • setup of a Linux managed node
    • requirements for a Windows managed node
    • setup of a Windows managed node
    • inventory and access control information on the control node
  • Ansible Tower
    • using the Ansible Tower (dashboard)
    • create inventories of systems (with credentials)
    • create projects and job templates
    • job scheduling (launch forms), status, and tracking
    • watching and chaining (multi-) playbooks (workflows)
    • controlling and viewing logs and audit trails
    • notifications
    • remote command execution
    • report access