Linux Administration with Ansible: Writing Ansible Playbooks

Creating Ansible Playbooks allows you to create repeatable configurations that will be reliably correct. This course will teach you to write, understand, and execute Ansible Playbooks.
Course info
Level
Intermediate
Updated
Sep 13, 2021
Duration
4h 21m
Table of contents
Course Overview
Writing in YAML
Scripting Linux Administration
Using Shell Commands in Playbooks
Working with the Big Three
Managing Users in Ansible
Ancillary Ansible Playbooks
Description
Course info
Level
Intermediate
Updated
Sep 13, 2021
Duration
4h 21m
Your 10-day individual free trial includes:

Expert-led courses

Keep up with the pace of change with thousands of expert-led, in-depth courses.
Description

Having repeatably correct configurations that can be replayed as they are needed, not only provides for long-term success in the production environment, it allows the production environment to be recreated in your test environment for development. In this course, Linux Administration with Ansible: Writing Ansible Playbooks, you’ll learn to read and write YAML, the file format of Ansible Playbooks. First, you’ll explore creating YAML statements online to understand the rules and syntax. Next, you’ll discover how creating Playbooks with logic we can control the execution of tasks. Finally, you’ll learn how to develop extensive Playbooks that cover all elements of Linux administration. When you’re finished with this course, you’ll have the skills and knowledge of Ansible Playbooks needed to manage a variety of Linux administration projects.

About the author
About the author

Andrew is a committed evangelist of the Linux Operating System and the concept of community and freedom that it provides. He has worked as a technical trainer since 1995 and has taught throughout the world, including Australia, the US, Germany and Eastern Europe. Andrew started teaching Linux in 2004 when Novell acquired SUSE and has been a long time supporter of Novell and provides SYSOP support the the Certifed Novell Instructor community on Linux. Andrew founded theurbanpenguin and has been submitting video training material to his YouTube channel since 2009 and currently has over 8,500 subscribers and 1.6 Million views. Andrew has had two publications with Packt: Citrix Access Gateway VPX Essentials (2012) and Citrix XenApp (2013).

More from the author
RHEL 8: Managing Networking
Intermediate
2h 33m
Sep 30, 2021
More courses by Andrew Mallett
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hello everyone, and welcome. My name is Andrew Mallett, and yes, you are just minutes away from fulfilling your dreams of becoming an Ansible administrator. Let me introduce you to my latest Linux Administration with Ansible: Writing Ansible Playbooks course. Now myself, I'm the owner of The Urban Penguin within the UK, training and consulting in Linux, and I have been doing so for a number of years, working both as a system administrator and a dabbling developer working a lot with Python and also configuration management systems such as Ansible, Puppet, and Salt. As your estate starts to grow, you're adding more and more configuration requirements with a number of systems. Ansible is going to become your friend. Being able to create repeatable configurations with playbooks is everything, believe me. This course is designed to help you become more familiar with Ansible and get you well on your way to writing effective playbooks. Some of our major topics that we cover include writing in YAML, preventing injection attacks with variables, working with packages, files, and services, importing tasks and playbooks as modular code, and by the end of this course, you'll know how to create a selection of very useful configurations working across different Linux distributions. Before beginning this course, you should be familiar with working at the Linux command line and the basic principles of system administration. This course builds upon the Getting Started with Ansible course and assumes you've completed it.