Udemy
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
Development
Web Development Data Science Mobile Development Programming Languages Game Development Database Design & Development Software Testing Software Engineering Development Tools No-Code Development
Business
Entrepreneurship Communications Management Sales Business Strategy Operations Project Management Business Law Business Analytics & Intelligence Human Resources Industry E-Commerce Media Real Estate Other Business
Finance & Accounting
Accounting & Bookkeeping Compliance Cryptocurrency & Blockchain Economics Finance Finance Cert & Exam Prep Financial Modeling & Analysis Investing & Trading Money Management Tools Taxes Other Finance & Accounting
IT & Software
IT Certification Network & Security Hardware Operating Systems Other IT & Software
Office Productivity
Microsoft Apple Google SAP Oracle Other Office Productivity
Personal Development
Personal Transformation Personal Productivity Leadership Career Development Parenting & Relationships Happiness Esoteric Practices Religion & Spirituality Personal Brand Building Creativity Influence Self Esteem & Confidence Stress Management Memory & Study Skills Motivation Other Personal Development
Design
Web Design Graphic Design & Illustration Design Tools User Experience Design Game Design Design Thinking 3D & Animation Fashion Design Architectural Design Interior Design Other Design
Marketing
Digital Marketing Search Engine Optimization Social Media Marketing Branding Marketing Fundamentals Marketing Analytics & Automation Public Relations Advertising Video & Mobile Marketing Content Marketing Growth Hacking Affiliate Marketing Product Marketing Other Marketing
Lifestyle
Arts & Crafts Beauty & Makeup Esoteric Practices Food & Beverage Gaming Home Improvement Pet Care & Training Travel Other Lifestyle
Photography & Video
Digital Photography Photography Portrait Photography Photography Tools Commercial Photography Video Design Other Photography & Video
Health & Fitness
Fitness General Health Sports Nutrition Yoga Mental Health Dieting Self Defense Safety & First Aid Dance Meditation Other Health & Fitness
Music
Instruments Music Production Music Fundamentals Vocal Music Techniques Music Software Other Music
Teaching & Academics
Engineering Humanities Math Science Online Education Social Science Language Teacher Training Test Prep Other Teaching & Academics
AWS Certification Microsoft Certification AWS Certified Solutions Architect - Associate AWS Certified Cloud Practitioner CompTIA A+ Cisco CCNA CompTIA Security+ Amazon AWS Microsoft AZ-900
Graphic Design Photoshop Adobe Illustrator Drawing Digital Painting InDesign Character Design Canva Figure Drawing
Life Coach Training Neuro-Linguistic Programming Personal Development Personal Transformation Mindfulness Life Purpose Meditation CBT Emotional Intelligence
Web Development JavaScript React CSS Angular PHP Node.Js WordPress Vue JS
Google Flutter Android Development iOS Development React Native Swift Dart Programming Language Mobile Development Kotlin SwiftUI
Digital Marketing Google Ads (Adwords) Social Media Marketing Google Ads (AdWords) Certification Marketing Strategy Internet Marketing YouTube Marketing Email Marketing Retargeting
Microsoft Power BI SQL Tableau Business Analysis Data Modeling Business Intelligence MySQL Data Analysis Blockchain
Business Fundamentals Entrepreneurship Fundamentals Business Strategy Business Plan Startup Freelancing Online Business Blogging Home Business
Unity Game Development Fundamentals Unreal Engine C# 3D Game Development C++ 2D Game Development Unreal Engine Blueprints Blender
30-Day Money-Back Guarantee
IT & Software Other IT & Software Ansible

Mastering Ansible

A complete guide to configuration management and orchestration with Ansible.
Rating: 4.3 out of 54.3 (7,254 ratings)
34,276 students
Created by Chris Lunsford
Last updated 12/2015
English
English, Indonesian [Auto], 
30-Day Money-Back Guarantee

What you'll learn

  • Execute ad-hoc commands against servers using Ansible
  • Write Ansible configuration playbooks to deploy a 3-tier web application
  • Configure Ansible roles with tasks, handlers, files, templates, and default variables
  • Write operational playbooks to check cluster status and perform a cluster restart.
  • Optimize Ansible playbooks to reduce playbook execution time.
  • Test and troubleshoot Ansible playbook execution.
Curated for the Udemy for Business collection

Requirements

  • You should have a Linux or Mac OS X computer, or access to at lease one Linux virtual machine for installing Ansible.
  • You'll need a code editor or IDE of your choice.
  • You'll need a terminal and ssh client for running Ansible against target hosts.
  • You should have access to 5 Linux servers (bare-metal or virtual machine) if you want to setup the course environment and follow along step-by-step.

Description

Mastering Ansible is a step-by-step journey of learning Ansible for configuration management and orchestration.

The course is designed as a journey through configuring a realistic application stack from the ground up. Instead of going page-by-page through the Ansible documentation, topics are ordered to align with the growing complexity of our application as we build it up and refactor it.

In addition to the core concepts of configuration with Ansible, we spend time on building tools to help us maintain and troubleshoot our application. The goal is to have a workflow where all of the configuration and troubleshooting is done through ansible playbooks that can be committed to a repository and improved over time.

The course is divided into 6 sections, starting with initial installation and foundational concepts. Starting in section 3, we build up a sample application environment layer-by-layer, learning a new concept in each lecture. After the application is up and running, we refactor our setup in section 4 with an emphasis on modularity and encapsulation. In section 5, we optimize our code and learn about techniques to reduce the playbook execution time. The course finishes with a final section on troubleshooting and testing.

For each lecture, we introduce a new Ansible concept and apply it to our playbooks. For most lectures, we execute the new concept in the demo environment so you can see what the output should look like. In the notes of each lecture, you'll find a link to the relevant documentation pages, along with a snapshot of the codebase at the end of that lecture.

This course was built with Ansible version 1.9.3, applied to a 3-tiered web application environment leveraging NGINX, Apache2, Python, and MySQL on Ubuntu Linux servers. We do not cover administering Windows servers in this course.

This course is designed as an introduction to Ansible, but also as a guide for engineers interested in configuration management, orchestration, infrastructure-as-code, and devops principles.

Who this course is for:

  • The course is designed for students who have little or no experience with Ansible, but are familiar with Linux systems administration concepts.
  • No programming or previous automation experience is required.
  • If you've never logged into a Linux shell and run commands before, you will learn the Ansible syntax but you may not understand the 'why' behind the tasks that we configure. We try to explain all systems concept that we cover, but we aren't starting from the beginning with Linux in this course.

Course content

8 sections • 55 lectures • 4h 48m total length

  • Preview02:49
  • Configuration Management & Orchestration
    05:53

  • Environment Setup
    05:09
  • Preview03:05

  • Inventory Pt 1
    03:44
  • Inventory Pt 2
    04:53
  • Host Selection
    03:45
  • Tasks
    05:06
  • Plays
    04:35
  • Playbook Execution
    Preview05:33
  • Foundation Concepts
    3 questions

  • Playbooks Introduction
    04:42
  • Packages: apt
    04:33
  • Packages: become
    04:07
  • Packages: with_items
    05:08
  • Services: service
    06:49
  • Support Playbook 1 - Stack Restart
    03:08
  • Services: apache2_module, handlers, notify
    05:39
  • Files: copy
    05:54
  • Application Modules: pip
    03:11
  • Files: file
    05:27
  • Files: template
    06:31
  • Files: lineinfile
    06:49
  • Application Modules: mysql_db, mysql_user
    04:57
  • Support Playbook 2 - Stack Status: wait_for
    09:25
  • Support Playbook 2 - Stack Status: uri, register, fail, when
    11:10
  • Playbooks Summary
    03:13
  • Playbook Concepts
    6 questions

  • Roles Overview
    04:41
  • Converting to Roles: tasks, handlers
    05:02
  • Converting to Roles: files, templates
    05:50
  • Site.yml: include
    02:59
  • Variables: facts
    06:09
  • Variables: defaults
    05:20
  • Variables: vars
    08:20
  • Variables: with_dict
    07:12
  • Selective Removal: shell, register, with_items, when
    05:45
  • Variables - continued
    06:25
  • Variables: vars_files, group_vars
    06:34
  • Variables: vault
    10:49
  • External Roles & Galaxy
    04:41
  • Variables
    2 questions

  • Advanced Execution Introduction
    02:58
  • Removing Unnecessary Steps: gather_facts
    03:29
  • Extracting Repetitive Tasks: cache_valid_time
    04:10
  • Limiting Execution by Hosts: limit
    02:40
  • Limiting Execution by Tasks: tags
    06:37
  • Idempotence: changed_when, failed_when
    06:23
  • Accelerated Mode and Pipelining
    04:43

  • Troubleshooting Ordering Problems
    05:47
  • Jumping to Specific Tasks: list-tasks, step, start-at-task
    04:00
  • Retrying Failed Hosts
    02:43
  • Syntax-Check & Dry-Run: syntax-check, check
    05:20
  • Debugging: debug
    04:18
  • Testing Concepts
    2 questions

  • Authentication with SSH Keys
    06:47
  • A Brief Overview of YAML
    06:11
  • A Brief Overview of Jinja2
    05:58
  • Dev Environment with Docker
    01:33

Instructor

Chris Lunsford
Software Founder, Developer, Operations Engineer
Chris Lunsford
  • 4.3 Instructor Rating
  • 7,254 Reviews
  • 34,276 Students
  • 1 Course

I am an IT professional with a decade of experience in network, datacenter, cloud and systems operations. My expertise is in applying software development practices to infrastructure operations.

In the early days of my IT career, I worked at a large networking company administering devices to support Service Providers in the US and Canada. After several years of doing test and validation for SP Core Networks, I worked a project on a recently announced Data Center compute product and got hooked on Data Center technology. I moved on to support Data Center Solutions and became an expert on the full Data Center stack: firewalls, load-balancers, compute, network, storage, and virtualization. The balance of my time at the company was spent building out a major hosted cloud effort based on OpenStack, integrating principles and tools from the emerging DevOps movement.

I left corporate life to co-found a small software company, focused on reducing the pain of being an operations engineer in Cloud and Data Center environments. I teach on Udemy to help transfer my own lessons learned to others who are faced with managing complex server and network environments, and to explore ways to integrate software practice and lean methodologies with IT operations.

  • Udemy for Business
  • Teach on Udemy
  • Get the app
  • About us
  • Contact us
  • Careers
  • Blog
  • Help and Support
  • Affiliate
  • Impressum Kontakt
  • Terms
  • Privacy policy
  • Cookie settings
  • Sitemap
  • Featured courses
Udemy
© 2021 Udemy, Inc.