ExperTeach Networking Logo

Ansible

Automation of Applications and Infrastructure

ExperTeach Networking Logo

The desire for greater automation is now an integral part of many companies. It makes no difference whether a single server or the entire infrastructure, on-premises or the cloud is to be automated: With Ansible, the installation, configuration and maintenance of systems can be automated and simplified. In addition to the ability to accelerate administrative tasks, tasks can also be implemented in a reusable manner. Not only for administrators Ansible creates new possibilities, but also application developers benefit significantly from such a platform.

In this workshop you will learn the basics for using Ansible. In addition to teaching theoretical knowledge, all ideas will be put into practice. With Ansible Playbooks you will create scripts for complex tasks and then build them up modularly through 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

Print E-Book PDF Symbol You will receive the comprehensive documentation package of the ExperTeach Networking series – printed documentation, e-book, and personalized PDF! As online participant, you will receive the e-book and the personalized PDF.

Target Group

The course is aimed at all those who are looking for an introduction to the topic of ansible or automation, have a certain technical understanding and are not afraid of innovations. Server administrators, platform architects and pre-sales staff working in the automation environment, the course provides a solid foundation of knowledge and insight into the possibilities of Ansible.

Knowledge Prerequisites

The willingness to deal with the topics of automation and sensitive technology, and a basic understanding of the data center components compute, network and storage are prerequisites for successful course participation. Knowledge of Linux is desirable, but not mandatory.

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 for customized courses
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 is now an integral part of many companies. It makes no difference whether a single server or the entire infrastructure, on-premises or the cloud is to be automated: With Ansible, the installation, configuration and maintenance of systems can be automated and simplified. In addition to the ability to accelerate administrative tasks, tasks can also be implemented in a reusable manner. Not only for administrators Ansible creates new possibilities, but also application developers benefit significantly from such a platform.

In this workshop you will learn the basics for using Ansible. In addition to teaching theoretical knowledge, all ideas will be put into practice. With Ansible Playbooks you will create scripts for complex tasks and then build them up modularly through 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

Print E-Book PDF Symbol You will receive the comprehensive documentation package of the ExperTeach Networking series – printed documentation, e-book, and personalized PDF! As online participant, you will receive the e-book and the personalized PDF.

Target Group

The course is aimed at all those who are looking for an introduction to the topic of ansible or automation, have a certain technical understanding and are not afraid of innovations. Server administrators, platform architects and pre-sales staff working in the automation environment, the course provides a solid foundation of knowledge and insight into the possibilities of Ansible.

Knowledge Prerequisites

The willingness to deal with the topics of automation and sensitive technology, and a basic understanding of the data center components compute, network and storage are prerequisites for successful course participation. Knowledge of Linux is desirable, but not mandatory.

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 for customized courses

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