Ansible 2 for Beginners

Watch Ansible 2 for Beginners

  • 2017
  • 1 Season

Ansible 2 for Beginners is an instructional video course produced by Packt Publishing, essentially geared towards IT personnel who want to learn about and effectively use Ansible. This video course is presented by David Cohen, an experienced IT professional who is well-versed in configuration management tools such as Chef, Puppet, and Ansible.

The format of the course is designed to allow for maximum flexibility in learning. It is 8 hours long and is divided into short, bite-sized video modules, ranging from 5 to 15 minutes. These modules build upon each other to provide a comprehensive guide to Ansible.

Ansible is a configuration management tool specifically designed to manage IT infrastructure. It uses declarative language to automate application deployment, configuration management, and deployment of software on different servers. Ansible is an open-source tool that can automate configuration management, infrastructure automation, cloud deployment, and application deployment. It requires no agent installation, and it is agentless, which means you can have a high-level approach to managing your IT infrastructure.

In the course, David Cohen takes learners through the basics of Ansible, starting with an introduction to Ansible, covering installation, the architecture of Ansible, and inventory. The inventory is how Ansible finds what servers or virtual machines to operate on. In addition, Cohen covers various modules such as ad-hoc commands, roles, conditionals, loops, and variables.

One significant advantage of Ansible that Cohen emphasizes in the course is its simplicity. Ansible presents an easy-to-learn structure that allows IT personnel to automate many repetitive, time-consuming tasks performed in the IT infrastructure. Cohen shows learners how to build and run playbooks, which automate many tasks, making them more efficient, and reducing the risk of human errors.

The course also delves into Ansible templates, which simplify the deployment of various configurations, including instances of load balancers, application servers, and web servers. The deployment of multiple instances of an application or module can introduce some variations, different from the others, depending on their specific roles or features. Templates provide a flexible approach to creating these variants in a compact and easy-to-read code structure.

The subject of security is given attention in the course, as with any software tool, security must be key in the process of deployment, management, and automation. Ansible has some security features built into it that are explained in-depth in the course.

One of Ansible's most significant strengths is its ability to integrate with other tools. In the course, Cohen shows learners how to integrate Ansible with other DevOps tools such as Git, Jenkins, Nagios, and Docker, all of which optimize automation and management of applications.

Cohen's teaching style is engaging and interactive, with an emphasis on practical use cases, and he always emphasizes the importance of learning by doing. He regularly gives demos and exercises to help learners internalize their learning, and also provides learners with a practice environment, where they can apply what they have learned.

Overall, Ansible 2 for Beginners is an informative and insightful course that offers an excellent introduction to Ansible. It is a great course for beginners who want to learn about Ansible, but even experienced users of Ansible can learn new tricks and best practices to use the tool effectively. The course has proven to be a go-to resource for beginners who want a hands-on approach to configuration management and automation.

Ansible 2 for Beginners is a series that is currently running and has 1 seasons (32 episodes). The series first aired on February 12, 2017.

Filter by Source

Seasons
Ansible Tower
33. Ansible Tower
February 12, 2017
This video will give you a quick taste of Ansible's commercial solution: Ansible Tower. This is a web application wrapper around the core open-source Ansible toolset
Ansible AWS Demo
32. Ansible AWS Demo
February 12, 2017
In this demonstration, you'll see how the Mattermost Deployment playbook was ported to Amazon AWS.
Ansible in the Cloud
31. Ansible in the Cloud
February 12, 2017
Ansible can be used to provision services on all major cloud providers: Amazon Web Services (AWS), OpenStack, Google Cloud, Microsoft Azure, and more. There are also Ansible modules for on-premise virtualization and cloud solutions, which makes it really easy to get started.
Security
30. Security
February 12, 2017
In this video, I'll cover some of the basic security features. This is essentially a quick list of "best practices" and "things to watch out for." Using Ansible for provisioning, deployment, configuration management, and orchestration does not absolve you of managing the security of your systems...you'll still have to invest thought and planning into how you do this.
Ansible Galaxy
29. Ansible Galaxy
February 12, 2017
Ansible Galaxy allows you to leverage open-source roles that other people in the Ansible community have created. It can be useful for studying code that others have written, or for quickly getting some functionality that you need without having to write it from scratch.
Performance and Execution Strategies
28. Performance and Execution Strategies
February 12, 2017
Ansible has two built-in execution strategies that affect how it applies tasks to hosts. Knowing whether you want to use the linear (default) strategy or the free strategy can make the difference between completing a deployment in minutes or hours
Ansible Blocks
27. Ansible Blocks
February 12, 2017
Task Blocks are one of the useful new features in Ansible 2.0. They allow you to group related tasks together, so you can tie control-flow to larger chunks of actions. This is something that comes in handy for larger actions which are made up of several tasks.
YAML Basics
26. YAML Basics
February 12, 2017
We have been using YAML to write your Playbooks, Plays, Tasks, and Handlers. Now it's time to dig in for a moment and learn some of the rules you need to keep in mind when working with this markup language.
Templating, Control Flow, and Iteration in Jinja2
25. Templating, Control Flow, and Iteration in Jinja2
February 12, 2017
In addition to control flow in your YAML files, we can also introduce control flow for our file content in your Jinja2 templates.
Conditionals and Control Flow
24. Conditionals and Control Flow
February 12, 2017
In this video, you'll learn about the control flow that you can use in your Tasks and Plays. At the end of this video, you'll be comfortable with Ansible iteration constructs like
Debugging and Troubleshooting
23. Debugging and Troubleshooting
February 12, 2017
While developing Ansible automation, you'll be doing a lot of troubleshooting as part of the process. In this video, I'll show you the most common Ansible features that you'll use for debugging, along with some of the most common Ansible errors you'll encounter.
Real-Life Playbook Walkthrough
22. Real-Life Playbook Walkthrough
February 12, 2017
This video reviews everything we just saw in the application deployment. After watching this video, you'll start to have an intuitive 'real-world' grasp of how a playbook works
Real-Life Playbook: Mattermost Deployment
21. Real-Life Playbook: Mattermost Deployment
February 12, 2017
In this video, you'll see a real-life web application deployment. We'll be setting up Mattermost, an open-source alternative to the popular Slack team-chat applications
Variables and Facts
20. Variables and Facts
February 12, 2017
In this video, you'll learn about how Ansible deals with Variables and Facts
Common Modules
19. Common Modules
February 12, 2017
In this video, you'll learn about some of the most popular (and useful!) Ansible modules. At the end of this video, you'll have a list of modules to dig into, which you can use to manage
Introduction to Modules
18. Introduction to Modules
February 12, 2017
In this video, you'll learn what Ansible modules are and how they help you get things done.
Playbook Structure
17. Playbook Structure
February 12, 2017
In this video, you'll learn how to structure your playbooks for maximum readability, predictability, and flexibility. You'll learn about Roles, and how they can help you reuse code. Note: For this course, we're not using every available Playbook feature, because it can make things excessively complex. We're focusing on the practical 90% of features that you'll be using every day.
Introduction top playbooks
16. Introduction top playbooks
February 12, 2017
Playbooks are the Ansible feature you'll be working with on most projects. In this video, you'll learn the three components that make a Playbook what it is: tasks, templates, and handlers.
Ad-Hoc Commands
15. Ad-Hoc Commands
February 12, 2017
Ad-Hoc Commands are simple one-off commands that perform a single action on a target host. These simple replacements for small bash scripts or 'for' loops are run from the command-line, and work well for cases where a full-featured Playbook is overkill. You'll see Ad-Hoc commands for doing several things across one server, or many servers at once
Ansible Hosts Inventory File
14. Ansible Hosts Inventory File
February 12, 2017
How does Ansible know which hosts to configure? The Ansible Hosts (Inventory) file!
Ansible Configuration Hierarchy
13. Ansible Configuration Hierarchy
February 12, 2017
In this video, you'll learn where Ansible looks for its primary configuration file, and the different ways in which you can approach configuring Ansible.
Target Machine Requirements
12. Target Machine Requirements
February 12, 2017
Ansible only requires two things: Python 2 and a running SSH service. In this video, I'll show you the 10-second process that prepares a brand-new host for Ansible.
Setting up our Test Environment
11. Setting up our Test Environment
February 12, 2017
In this video you'll learn how to simulate test machines with LXC (Linux Containers). LXC is a lightweight precursor to Docker which will let us configure some test hosts that we can run Ansible against.
Bleeding-Edge Ansible Installation
10. Bleeding-Edge Ansible Installation
February 12, 2017
In this video, we'll cover how to build Ansible directly from its repository. This method is useful if you absolutely need a bleeding-edge feature, or if you're interested in contributing to the Ansible source code.
Installing Ansible
9. Installing Ansible
February 12, 2017
In this video, you'll learn the three most popular ways to install Ansible, and decide which one is right for you.
Creating an Ansible Home Base
8. Creating an Ansible Home Base
February 12, 2017
In this video, we'll set up an environment that you can use to safely practice everything you see in this course.
New Features in Ansible 2.0
7. New Features in Ansible 2.0
February 12, 2017
In this video, you'll learn about the new features and improvements that Ansible 2.0 offers.
Basic Ansible Vocabulary
6. Basic Ansible Vocabulary
March 12, 2017
In this video, we'll cover the basic Ansible vocabulary. You'll have many basic questions answered.
Course Layout
5. Course Layout
February 12, 2017
This video gives you an overview of how the course is structured. The focus is on practical, real-world applications, since that prepares you for real-life application of this knowledge.
Demonstration - From Bash to Ansible
4. Demonstration - From Bash to Ansible
February 12, 2017
We'll use a simple example: installing and configuring an nginx server and a simple static HTML website, first using bash and then using Ansible.
Why Ansible?
3. Why Ansible?
February 12, 2017
Ansible is more than just configuration management, like many other tools in this space. It's also much more lightweight than competitors like Puppet and Chef-to configure a server, all you need is an SSH login and Python 2 installed.
The Course Overview
1. The Course Overview
February 12, 2017
This video provides an overview of the entire course.
Description
Where to Watch Ansible 2 for Beginners
Ansible 2 for Beginners is available for streaming on the Packt Publishing website, both individual episodes and full seasons. You can also watch Ansible 2 for Beginners on demand at Amazon.
  • Premiere Date
    February 12, 2017