ExperTeach Networking Logo

Ansible

Automation of Applications and Infrastructure

ExperTeach Networking Logo

The desire for greater automation has become an integral part of many companies. It doesn't matter whether a single server or the entire infrastructure, on-premises or in the cloud, is to be automated: Ansible can be used to automate and simplify the installation, configuration and maintenance of systems. In addition to the ability to speed up administrative tasks, tasks can also be implemented in a reusable manner. Ansible not only creates new possibilities for administrators, but application developers also benefit significantly from such a platform. In this workshop you will learn the basics of using Ansible. In addition to imparting theoretical knowledge, all ideas will also be put into practice. Using Ansible playbooks, you will create scripts for complex tasks and then build them up in a modular way using the role concept.

Course Contents

  • Ideas of automation 
  • Architecture of Ansible
  • Installation and configuration of an Ansible Host
  • Create Playbooks
  • Ansible-Role and Ansible-Galaxy
  • Introduction to YAML
  • Automation of applications (for example web servers)
  • Interfaces to other platforms
  • Debugging and Testing

The detailed digital documentation package, consisting of an e-book and PDF, is included in the price of the course.

Premium Course Documents

In addition to the digital documentation package, the exclusive Premium Print Package is also available to you.

  • High-quality color prints of the ExperTeach documentation
  • Exclusive folder in an elegant design
  • Document pouch in backpack shape
  • Elegant LAMY ballpoint pen
  • Practical notepad
Premium Print
The Premium Print Package can be added during the ordering process for € 150,- plus VAT (only for classroom participation).

Request in-house training now

Target Group

The course is aimed at anyone who is looking for an introduction to Ansible or automation, has a certain level of technical understanding and is not afraid of innovation. Server administrators, platform architects and pre-sales employees who work in the automation environment will gain a solid foundation of know-how and an insight into the possibilities of Ansible.

Knowledge Prerequisites

The willingness to deal technically with the topics of automation and Ansible and a basic understanding of the data center building blocks of compute, network and storage are prerequisites for successful course participation. Knowledge of Linux is desirable, but not a prerequisite.

Alternatives

Book this course together with Ansible Advanced – Orchestration in Detail as PowerPackage Ansible for the discounted price of € 2.795,-.

1 Overview Orchestration
1.1 Orchestration of Infrastructures and Applications
1.1.1 Puppet and Chef
1.1.2 Ansible
   
2 Basics of Ansible
2.1 Ansible Architecture
2.2 Installation of Ansible on the Master
2.3 Creating a User on the Host
2.3.1 Creating SSH Keys
2.3.2 Key Transfer
   
3 Ansible Inventory
3.1 Inventory—The List of Hosts
3.1.1 YAML or INI
3.1.2 Individual Hosts
3.1.3 Groups of Hosts
3.2 Host Variable
3.2.1 Group Variables
3.2.2 Variable in Files
3.3 Options for Inventory
3.4 Commands and Inventory
   
4 Ansible Ad-Hoc
4.1 First Steps with Ansible—Ad-hoc
4.2 Availability of the Hosts
4.2.1 Another Inventory File and List Hosts
4.2.2 Status Messages
4.2.3 Tracking of the Module Version
4.2.4 Help Texts for the Modules
4.3 Display Variable and Facts
4.4 Execution of Commands on the Hosts
4.5 Generic Module Options
4.5.1 Example User Management
4.5.2 Example Package Handler
4.5.3 Example Service Management
4.6 File and Directory Administration
4.7 Copy Files and Directories
4.8 Further Modules
4.9 Logging of Access Attempts
   
5 Playbooks
5.1 Introduction to YAML
5.1.1 Associative Lists in YAML
5.1.2 Lists in YAML
5.1.3 New Lines and Boolean
5.2 Playbooks—Setup and Example
5.2.1 Example: Create a File
5.2.2 Syntax Check and List Hosts
5.2.3 Execute Playbook
5.3 Create Several Folders with Loops
5.4 Indexed Loops
5.5 Create User with Variables
5.6 Copy File and Replace Text Pattern
5.7 Ansible Debugger
   
6 Complex Playbooks
6.1 Motivation
6.2 Trigger and Handler
6.3 Conditions
6.3.1 Conditions—When-Or Link
6.3.2 Conditions—When-And Link
6.3.3 Conditions—When-Combined
6.4 Filter and Loops
6.5 Conditioned Processing in Loops
6.6 User Input—Prompt
6.7 Evaluate Status Messages of Tasks
6.8 Variable vs. Facts
6.9 Pre- and Post-Tasks
6.10 Setting Markers with Tags
6.11 Import vs. Include
6.12 Delegate Tasks & Facts
   
7 Advanced Playbooks
7.1 Templates with Jinja2
7.1.1 Files with Variable Contents
7.1.2 Creation of Files with Loops
7.1.3 Count-Controlled Loops
7.1.4 Extended File Creation
7.2 Ansible-Role
7.2.1 Example—Web Server NGINX
7.2.2 Further Components of the Playbook
7.2.3 The Final Playbook
7.3 Ansible-Galaxy
7.3.1 Ansible-Galaxy—Install
7.3.2 Ansible-Galaxy—Init
7.4 Ansible-Vault
7.4.1 Encrypt File
7.4.2 Edit Encrypted File
7.4.3 Ansible-Vault and Playbooks
7.5 Ansible and Windows
7.5.1 Prepare Windows
7.5.2 Prepare Ansible Host
7.5.3 Examples of Windows Playbooks
7.6 Applications, Network, and Ansible
7.7 Administrate Ansible Host with AWX
   
A List of Abbreviations

Classroom training

Do you prefer the classic training method? A course in one of our Training Centers, with a competent trainer and the direct exchange between all course participants? Then you should book one of our classroom training dates!

Hybrid training

Hybrid training means that online participants can additionally attend a classroom course. The dynamics of a real seminar are maintained, and the online participants are able to benefit from that. Online participants of a hybrid course use a collaboration platform, such as WebEx Training Center or Saba Meeting. To do this, a PC with browser and Internet access is required, as well as a headset and ideally a Web cam. In the seminar room, we use specially developed and customized audio- and video-technologies. This makes sure that the communication between all persons involved works in a convenient and fault-free way.

Online training

You wish to attend a course in online mode? We offer you online course dates for this course topic. To attend these seminars, you need to have a PC with Internet access (minimum data rate 1Mbps), a headset when working via VoIP and optionally a camera. For further information and technical recommendations, please refer to.

Tailor-made courses

You need a special course for your team? In addition to our standard offer, we will also support you in creating your customized courses, which precisely meet your individual demands. We will be glad to consult you and create an individual offer for you.
Request in-house training now
PDF SymbolYou can find the complete description of this course with dates and prices ready for download at as PDF.

The desire for greater automation has become an integral part of many companies. It doesn't matter whether a single server or the entire infrastructure, on-premises or in the cloud, is to be automated: Ansible can be used to automate and simplify the installation, configuration and maintenance of systems. In addition to the ability to speed up administrative tasks, tasks can also be implemented in a reusable manner. Ansible not only creates new possibilities for administrators, but application developers also benefit significantly from such a platform. In this workshop you will learn the basics of using Ansible. In addition to imparting theoretical knowledge, all ideas will also be put into practice. Using Ansible playbooks, you will create scripts for complex tasks and then build them up in a modular way using the role concept.

Course Contents

  • Ideas of automation 
  • Architecture of Ansible
  • Installation and configuration of an Ansible Host
  • Create Playbooks
  • Ansible-Role and Ansible-Galaxy
  • Introduction to YAML
  • Automation of applications (for example web servers)
  • Interfaces to other platforms
  • Debugging and Testing

The detailed digital documentation package, consisting of an e-book and PDF, is included in the price of the course.

Premium Course Documents

In addition to the digital documentation package, the exclusive Premium Print Package is also available to you.

  • High-quality color prints of the ExperTeach documentation
  • Exclusive folder in an elegant design
  • Document pouch in backpack shape
  • Elegant LAMY ballpoint pen
  • Practical notepad
Premium Print
The Premium Print Package can be added during the ordering process for € 150,- plus VAT (only for classroom participation).

Request in-house training now

Target Group

The course is aimed at anyone who is looking for an introduction to Ansible or automation, has a certain level of technical understanding and is not afraid of innovation. Server administrators, platform architects and pre-sales employees who work in the automation environment will gain a solid foundation of know-how and an insight into the possibilities of Ansible.

Knowledge Prerequisites

The willingness to deal technically with the topics of automation and Ansible and a basic understanding of the data center building blocks of compute, network and storage are prerequisites for successful course participation. Knowledge of Linux is desirable, but not a prerequisite.

Alternatives

Book this course together with Ansible Advanced – Orchestration in Detail as PowerPackage Ansible for the discounted price of € 2.795,-.

1 Overview Orchestration
1.1 Orchestration of Infrastructures and Applications
1.1.1 Puppet and Chef
1.1.2 Ansible
   
2 Basics of Ansible
2.1 Ansible Architecture
2.2 Installation of Ansible on the Master
2.3 Creating a User on the Host
2.3.1 Creating SSH Keys
2.3.2 Key Transfer
   
3 Ansible Inventory
3.1 Inventory—The List of Hosts
3.1.1 YAML or INI
3.1.2 Individual Hosts
3.1.3 Groups of Hosts
3.2 Host Variable
3.2.1 Group Variables
3.2.2 Variable in Files
3.3 Options for Inventory
3.4 Commands and Inventory
   
4 Ansible Ad-Hoc
4.1 First Steps with Ansible—Ad-hoc
4.2 Availability of the Hosts
4.2.1 Another Inventory File and List Hosts
4.2.2 Status Messages
4.2.3 Tracking of the Module Version
4.2.4 Help Texts for the Modules
4.3 Display Variable and Facts
4.4 Execution of Commands on the Hosts
4.5 Generic Module Options
4.5.1 Example User Management
4.5.2 Example Package Handler
4.5.3 Example Service Management
4.6 File and Directory Administration
4.7 Copy Files and Directories
4.8 Further Modules
4.9 Logging of Access Attempts
   
5 Playbooks
5.1 Introduction to YAML
5.1.1 Associative Lists in YAML
5.1.2 Lists in YAML
5.1.3 New Lines and Boolean
5.2 Playbooks—Setup and Example
5.2.1 Example: Create a File
5.2.2 Syntax Check and List Hosts
5.2.3 Execute Playbook
5.3 Create Several Folders with Loops
5.4 Indexed Loops
5.5 Create User with Variables
5.6 Copy File and Replace Text Pattern
5.7 Ansible Debugger
   
6 Complex Playbooks
6.1 Motivation
6.2 Trigger and Handler
6.3 Conditions
6.3.1 Conditions—When-Or Link
6.3.2 Conditions—When-And Link
6.3.3 Conditions—When-Combined
6.4 Filter and Loops
6.5 Conditioned Processing in Loops
6.6 User Input—Prompt
6.7 Evaluate Status Messages of Tasks
6.8 Variable vs. Facts
6.9 Pre- and Post-Tasks
6.10 Setting Markers with Tags
6.11 Import vs. Include
6.12 Delegate Tasks & Facts
   
7 Advanced Playbooks
7.1 Templates with Jinja2
7.1.1 Files with Variable Contents
7.1.2 Creation of Files with Loops
7.1.3 Count-Controlled Loops
7.1.4 Extended File Creation
7.2 Ansible-Role
7.2.1 Example—Web Server NGINX
7.2.2 Further Components of the Playbook
7.2.3 The Final Playbook
7.3 Ansible-Galaxy
7.3.1 Ansible-Galaxy—Install
7.3.2 Ansible-Galaxy—Init
7.4 Ansible-Vault
7.4.1 Encrypt File
7.4.2 Edit Encrypted File
7.4.3 Ansible-Vault and Playbooks
7.5 Ansible and Windows
7.5.1 Prepare Windows
7.5.2 Prepare Ansible Host
7.5.3 Examples of Windows Playbooks
7.6 Applications, Network, and Ansible
7.7 Administrate Ansible Host with AWX
   
A List of Abbreviations

Classroom training

Do you prefer the classic training method? A course in one of our Training Centers, with a competent trainer and the direct exchange between all course participants? Then you should book one of our classroom training dates!

Hybrid training

Hybrid training means that online participants can additionally attend a classroom course. The dynamics of a real seminar are maintained, and the online participants are able to benefit from that. Online participants of a hybrid course use a collaboration platform, such as WebEx Training Center or Saba Meeting. To do this, a PC with browser and Internet access is required, as well as a headset and ideally a Web cam. In the seminar room, we use specially developed and customized audio- and video-technologies. This makes sure that the communication between all persons involved works in a convenient and fault-free way.

Online training

You wish to attend a course in online mode? We offer you online course dates for this course topic. To attend these seminars, you need to have a PC with Internet access (minimum data rate 1Mbps), a headset when working via VoIP and optionally a camera. For further information and technical recommendations, please refer to.

Tailor-made courses

You need a special course for your team? In addition to our standard offer, we will also support you in creating your customized courses, which precisely meet your individual demands. We will be glad to consult you and create an individual offer for you.
Request in-house training now

PDF SymbolYou can find the complete description of this course with dates and prices ready for download at as PDF.