Learn Ansible will teach you how to write Ansible Playbooks for deploying simple apps. This updated edition covers the latest Ansible features, helping you confidently implement Ansible in your daily workflows.

Learn Ansible
Ends soon! Get $70+ in savings and build skills with Coursera Plus. Save 40% for 3 months.

Recommended experience
Recommended experience
What you'll learn
Install and configure Ansible on multiple operating systems
Write playbooks to automate system configuration and deployment
Integrate Ansible with CI/CD platforms such as GitHub Actions and Azure DevOps
Details to know

Add to your LinkedIn profile
September 2026
18 assignments
See how employees at top companies are mastering in-demand skills

There are 17 modules in this course
This module introduces learners to Ansible, covering its installation on various platforms, basic playbook execution, and key concepts such as configuration versus orchestration. Learners will gain hands-on experience with setting up Ansible and understand its role in automation workflows.
What's included
1 video7 readings1 assignment
1 video•Total 1 minute
- Overview•1 minute
7 readings•Total 49 minutes
- Introduction•6 minutes
- Ansible's Story•9 minutes
- Configuration versus Orchestration•4 minutes
- My Story•6 minutes
- Pros and Cons•4 minutes
- Installing on Windows 11•10 minutes
- Playbooks•10 minutes
1 assignment•Total 16 minutes
- Ansible Basics and Installation Methods•16 minutes
This module provides an in-depth look at Ansible Galaxy, focusing on how it facilitates the management, sharing, and use of automation roles. Learners will gain skills in using Galaxy commands, publishing roles, and understanding role life cycles and collections. The content emphasizes practical applications for improving Ansible playbook efficiency.
What's included
1 video3 readings1 assignment
1 video•Total 1 minute
- Overview•1 minute
3 readings•Total 21 minutes
- Introduction•6 minutes
- Introduction to Ansible Galaxy•7 minutes
- Publishing to and Using Ansible Galaxy Roles•8 minutes
1 assignment•Total 16 minutes
- Exploring Ansible Galaxy Fundamentals•16 minutes
This module provides an in-depth look at essential Ansible commands and tools for managing inventory and configuration. Learners will gain hands-on understanding of how to use and configure Ansible for efficient system automation.
What's included
1 video3 readings1 assignment
1 video•Total 1 minute
- Overview•1 minute
3 readings•Total 20 minutes
- Introduction•6 minutes
- The Ansible Config Command•5 minutes
- What Is Ansible-Pull?•9 minutes
1 assignment•Total 16 minutes
- Ansible Security and Configuration Fundamentals•16 minutes
This module covers the deployment of a LAMP stack using Ansible, including playbook structure, user and group management, Apache configuration, MariaDB installation, and Adminer setup. Learners will gain hands-on experience with server automation and configuration management.
What's included
1 video6 readings1 assignment
1 video•Total 1 minute
- Overview•1 minute
6 readings•Total 33 minutes
- Introduction•6 minutes
- Creating a Key, Group, and User•6 minutes
- Configuring Apache•5 minutes
- Installing MariaDB•6 minutes
- Downloading and Importing the Example Database•5 minutes
- Installing and Configuring Adminer•5 minutes
1 assignment•Total 16 minutes
- LAMP Stack Deployment Fundamentals•16 minutes
This module teaches the process of deploying WordPress using a LEMP stack, focusing on playbook creation, role-based configuration, and automation tasks. Learners will gain hands-on experience with Ansible role setup, PHP-FPM configuration, and WordPress plugin installation. The module emphasizes practical implementation of web server environments.
What's included
1 video5 readings1 assignment
1 video•Total 1 minute
- Overview•1 minute
5 readings•Total 30 minutes
- Introduction•7 minutes
- Stack Config Role•5 minutes
- PHP and PHP-FPM Configuration•5 minutes
- The WordPress Role•6 minutes
- WordPress Plugins Installation•7 minutes
1 assignment•Total 16 minutes
- Deploying WordPress with LEMP Stack and Automation•16 minutes
This module covers strategies for adapting playbooks and roles to support multiple Linux distributions, including Debian and Red Hat. Learners will gain insights into handling OS-specific configurations, variable management, and playbook flexibility. It equips learners with practical skills for multi-distribution deployment and maintenance.
What's included
1 video3 readings1 assignment
1 video•Total 1 minute
- Overview•1 minute
3 readings•Total 20 minutes
- Introduction•8 minutes
- Adapting the Roles•5 minutes
- The Stack Config Role•7 minutes
1 assignment•Total 16 minutes
- Managing System-Specific Tasks in Deployment•16 minutes
This module covers the use of Ansible for automating Windows-based server tasks, including launching Azure servers, enabling features, and installing packages via Chocolatey. Learners will gain hands-on knowledge of Ansible's Windows modules and how to configure them for efficient system management.
What's included
1 video3 readings1 assignment
1 video•Total 1 minute
- Overview•1 minute
3 readings•Total 20 minutes
- Introduction•7 minutes
- Ansible Preparation•4 minutes
- The Windows Playbook Roles•9 minutes
1 assignment•Total 16 minutes
- Ansible Windows Module Fundamentals•16 minutes
This module introduces learners to Ansible network modules, focusing on automating device configurations, understanding manufacturer-specific capabilities, and designing efficient network orchestration workflows. It covers practical use cases and provides an overview of the VyOS collection and its key functionalities.
What's included
1 video2 readings1 assignment
1 video•Total 1 minute
- Overview•1 minute
2 readings•Total 13 minutes
- Introduction•7 minutes
- VyOS Vyos•6 minutes
1 assignment•Total 16 minutes
- Ansible Network Automation Fundamentals•16 minutes
This module introduces learners to cloud automation using Ansible, focusing on deploying and managing Microsoft Azure virtual machines for WordPress. It covers resource group creation, cloud infrastructure setup, and the transition from local to cloud environments.
What's included
1 video2 readings1 assignment
1 video•Total 1 minute
- Overview•1 minute
2 readings•Total 25 minutes
- Introduction•9 minutes
- The Resource Group Task•16 minutes
1 assignment•Total 16 minutes
- Cloud Infrastructure Best Practices•16 minutes
This module covers the creation and configuration of a virtual private cloud (VPC) in AWS, including subnets, routes, security groups, and the use of Ansible for automated resource deployment. Learners will gain hands-on experience with network setup and secure cloud automation practices.
What's included
1 video4 readings1 assignment
1 video•Total 1 minute
- Overview•1 minute
4 readings•Total 27 minutes
- Introduction•8 minutes
- Getting Ansible Ready for Targeting AWS•5 minutes
- Subnets Role•6 minutes
- The Gateway Role•8 minutes
1 assignment•Total 16 minutes
- Cloud Network Fundamentals•16 minutes
This module teaches learners how to implement a highly available WordPress deployment using AWS services such as load balancing, RDS, EFS, and EC2. It covers the configuration of infrastructure, playbook structure, and deployment processes to ensure scalable and resilient cloud environments.
What's included
1 video8 readings1 assignment
1 video•Total 1 minute
- Overview•1 minute
8 readings•Total 59 minutes
- Introduction•6 minutes
- The Playbook•6 minutes
- EC2 Configuration•6 minutes
- The Elastic File System (EFS) Role•4 minutes
- Temporary EC2 Instance Role•8 minutes
- Endpoints Role•8 minutes
- The WordPress Role•8 minutes
- Running the Playbook•13 minutes
1 assignment•Total 16 minutes
- Cloud Deployment Best Practices and Automation•16 minutes
This module provides an in-depth look at VMware deployment strategies, focusing on configuring networking components and utilizing VMware REST modules to manage infrastructure efficiently. Learners will gain an understanding of how to implement and optimize VMware environments for automation and scalability.
What's included
1 video2 readings1 assignment
1 video•Total 1 minute
- Overview•1 minute
2 readings•Total 14 minutes
- Introduction•8 minutes
- Supporting vCenter Modules•6 minutes
1 assignment•Total 16 minutes
- VMware Deployment and Automation Fundamentals•16 minutes
This module teaches learners how to use static code analysis tools like Checkov and KICS to scan Ansible playbooks for security and configuration issues. It covers identifying vulnerabilities, understanding compliance risks, and improving code reliability through practical scanning techniques.
What's included
1 video3 readings1 assignment
1 video•Total 1 minute
- Overview•1 minute
3 readings•Total 24 minutes
- Introduction•13 minutes
- Exploring KICS•6 minutes
- High-severity Results•5 minutes
1 assignment•Total 16 minutes
- Ansible Playbook Scanning and Security Best Practices•16 minutes
This module teaches how to use Ansible to automate server hardening, including scanning for vulnerabilities, generating remediation playbooks, and deploying security configurations. Learners will gain hands-on experience with Ansible roles, Docker integration, and OpenSCAP for compliance checks. The focus is on improving system security through repeatable, automated processes.
What's included
1 video5 readings1 assignment
1 video•Total 1 minute
- Overview•1 minute
5 readings•Total 33 minutes
- Introduction•7 minutes
- The Playbook•5 minutes
- The Scan Role•5 minutes
- The OpenSCAP Role•12 minutes
- Running the Playbook•4 minutes
1 assignment•Total 16 minutes
- Securing Servers with Automation•16 minutes
This module explores how to integrate Ansible with cloud-based CI/CD platforms like GitHub Actions and Azure DevOps. Learners will gain hands-on experience with setting up automation workflows, managing credentials, and deploying code through cloud pipelines.
What's included
1 video4 readings1 assignment
1 video•Total 1 minute
- Overview•1 minute
4 readings•Total 33 minutes
- Introduction•7 minutes
- GitHub Personal Access Token•11 minutes
- Committing the Code•6 minutes
- Cloning the Repository and Uploading the Code•9 minutes
1 assignment•Total 16 minutes
- Ansible Automation in CI/CD Pipelines•16 minutes
This module provides an overview of Ansible AWX and Red Hat Ansible Automation Platform, covering their installation, configuration, and use in deploying cloud applications. Learners will gain hands-on experience with adding credentials and running playbooks through a graphical interface. The module also compares the features and use cases of both platforms.
What's included
1 video3 readings1 assignment
1 video•Total 1 minute
- Overview•1 minute
3 readings•Total 22 minutes
- Introduction•9 minutes
- Adding Credentials•5 minutes
- Running Our Playbooks•8 minutes
1 assignment•Total 16 minutes
- Ansible AWX and Red Hat Ansible Automation Platform Fundamentals•16 minutes
This module explores advanced techniques for integrating Ansible with third-party tools, debugging playbooks, and applying automation in real-world scenarios. Learners will gain practical skills in enhancing workflow efficiency and troubleshooting automation processes.
What's included
1 video4 readings2 assignments
1 video•Total 1 minute
- Overview•1 minute
4 readings•Total 27 minutes
- Introduction•9 minutes
- Other Integrations•4 minutes
- The Ansible Playbook Debugger•6 minutes
- Some Real-World Examples•8 minutes
2 assignments•Total 84 minutes
- The Learn Ansible Final Assessment•68 minutes
- Ansible Automation and Integration Fundamentals•16 minutes
Instructor

Offered by
Why people choose Coursera for their career

Felipe M.

Jennifer J.

Larry W.

Chaitanya A.

Break down barriers to learning with big savings


Start with easy savings for hard-working teams

Frequently asked questions
Yes, you can preview the first video and view the syllabus before you enroll. You must purchase the course to access content not included in the preview.
If you decide to enroll in the course before the session start date, you will have access to all of the lecture videos and readings for the course. You’ll be able to submit assignments once the session starts.
Once you enroll and your session begins, you will have access to all videos and other resources, including reading items and the course discussion forum. You’ll be able to view and submit practice assessments, and complete required graded assignments to earn a grade and a Course Certificate.
If you complete the course successfully, your electronic Course Certificate will be added to your Accomplishments page - from there, you can print your Course Certificate or add it to your LinkedIn profile.
This course is currently available only to learners who have paid or received financial aid, when available.
Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.
More questions
Financial aid available,
