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.
What you'll learn
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.
Table of contents
- Introducing YAML and Playbooks 3m
- Parsing YAML 6m
- Choosing Text Editors and IDEs for YAML 6m
- The Problem with Tabs 4m
- Creating a .nanorc File 8m
- Creating a .vimrc File 5m
- Working with VS Code 3m
- Understanding Playbooks 4m
- Implementing Playbooks 7m
- Using Variables and Debugging Playbooks 5m
- Finding Modules in the File System 3m
- Running Native Commands in Ansible 6m
- Comparing the Command and Shell Ansible Modules 5m
- Working with the Ansible Raw Module 5m
- Executing Scripts Using the Script Module 4m
- Using the Create Meta-parameter 6m
- Understanding Idempotent Playbooks 3m
- Creating Playbooks with Idempotent Logic 6m
- Summary and What's Next 4m
- Managing Users with Ansible 5m
- Creating Users in Playbooks 6m
- Understanding User Deletion 2m
- Creating Playbooks Allowing Creation or Removal of Users 6m
- Managing User Passwords 5m
- Creating Key Pairs on the Controller 6m
- Authenticating Using SSH Keys 8m
- The Final Playbook Implementing Blocks and Setting Sudo Rights 8m
- Summary and What's Next 3m