Unlock the power of automation with Ansible and Ansible Playbooks in this comprehensive course designed to elevate your IT infrastructure management skills. Through step-by-step guidance, you will master Ansible's agentless architecture, efficient task execution, and powerful automation capabilities to streamline your workflows.

Ansible and Ansible-Playbooks for Automation
Sparen Sie mit 40% Rabatt auf 3 Monate Coursera Plus bei den Fähigkeiten, die Sie zum Strahlen bringen. Jetzt sparen
kurs ist nicht verfĂĽgbar in Deutsch (Deutschland)

Empfohlene Erfahrung
Empfohlene Erfahrung
Stufe „Mittel“
IT professionals with basic Linux command-line knowledge will benefit. Beginners to automation are welcome.
Empfohlene Erfahrung
Empfohlene Erfahrung
Stufe „Mittel“
IT professionals with basic Linux command-line knowledge will benefit. Beginners to automation are welcome.
Was Sie lernen werden
Implement agentless automation for infrastructure management with Ansible.
Create and execute dynamic Ansible playbooks for complex workflows.
Integrate secure practices using Ansible Vault and SSH keys.
Leverage loops, templates, and roles to enhance task efficiency and reusability.
Kompetenzen, die Sie erwerben
- Kategorie: EncryptionEncryption
- Kategorie: IT AutomationIT Automation
- Kategorie: Configuration ManagementConfiguration Management
- Kategorie: AutomationAutomation
- Kategorie: DebuggingDebugging
- Kategorie: Software InstallationSoftware Installation
- Kategorie: File ManagementFile Management
- Kategorie: ScriptingScripting
- Kategorie: Code ReusabilityCode Reusability
- Kategorie: Infrastructure as Code (IaC)Infrastructure as Code (IaC)
- Kategorie: Linux CommandsLinux Commands
- Kategorie: Package and Software ManagementPackage and Software Management
Werkzeuge, die Sie lernen werden
- Kategorie: YAMLYAML
- Kategorie: Command-Line InterfaceCommand-Line Interface
- Kategorie: AnsibleAnsible
- Kategorie: Amazon Web ServicesAmazon Web Services
Wichtige Details

Zu Ihrem LinkedIn-Profil hinzufĂĽgen
36 Aufgaben
Erfahren Sie, wie Mitarbeiter fĂĽhrender Unternehmen gefragte Kompetenzen erwerben.

In diesem Kurs gibt es 36 Module
In this module, we will explore the foundational concepts of Ansible. You will gain insights into its capabilities, understand the differences between its core and community editions, and learn how its architecture facilitates secure and efficient automation.
Das ist alles enthalten
3 Videos1 LektĂĽre
3 Videos•Insgesamt 16 Minuten
- Introduction to Ansible•4 Minuten
- Ansible Core Versus Ansible Community•7 Minuten
- How Ansible Works?•5 Minuten
1 Lektüre•Insgesamt 10 Minuten
- Full Course Resources•10 Minuten
In this module, we will guide you through setting up the environment required for Ansible. From provisioning servers to configuring the controller node and understanding Ansible's agentless operations, this section ensures a strong foundation for further automation.
Das ist alles enthalten
8 Videos1 Aufgabe
8 Videos•Insgesamt 49 Minuten
- Launching Required Nodes / Servers for Ansible Setup•2 Minuten
- Launching Ansible-Controller Node - CentOS9 Node from Windows WSL2•11 Minuten
- Installing Ansible-Core on CentOS9 with Python Version 3.9.x•3 Minuten
- Ansible Configuration to Work with Managed Nodes•21 Minuten
- Why Ansible Is Called Agentless Tool•2 Minuten
- Creating userId on Ansible Controller and Switching to ansadmin from userid•6 Minuten
- Simple Ansible Architecture•2 Minuten
- How to Get the Latest File or Directory from Current Location?•3 Minuten
1 Aufgabe•Insgesamt 15 Minuten
- Environment Setup - Assessment•15 Minuten
In this module, we will focus on Ansible's ad-hoc commands, an essential feature for executing tasks quickly and efficiently. You’ll learn how to leverage modules and handle complex commands with quotations and arguments.
Das ist alles enthalten
4 Videos1 Aufgabe
4 Videos•Insgesamt 30 Minuten
- Introduction to Ansible Ad-Hoc Commands with Modules | Commands for Modules•15 Minuten
- Ansible Ad-Hoc Commands to Execute Any Unix/Linux Commands•5 Minuten
- Handling Arguments with Quotations•2 Minuten
- What Is the Backend Story to Execute Ansible Ad-Hoc Commands?•7 Minuten
1 Aufgabe•Insgesamt 15 Minuten
- Ad-Hoc Commands with Modules - Assessment•15 Minuten
In this module, we will delve into file management using Ansible ad-hoc commands. By mastering the file-related modules, you will learn to handle tasks such as file creation, modification, and retrieval across managed nodes seamlessly.
Das ist alles enthalten
6 Videos1 Aufgabe
6 Videos•Insgesamt 32 Minuten
- List of File Modules to Work with files|file, Copy, lineinfile, blockinfile…•5 Minuten
- Ansible Ad-Hoc Commands with File Module to Create a File on Managed Nodes•6 Minuten
- Ansible Ad-Hoc Commands with stat Module•3 Minuten
- Ansible Ad-Hoc Commands with Copy Module•6 Minuten
- Ansible Ad-Hoc Commands with lineinfile Module to Append/Replace/Delete Lines•8 Minuten
- Ansible Ad-Hoc Command with Fetch Module to Download from Managed Nodes•4 Minuten
1 Aufgabe•Insgesamt 15 Minuten
- Ansible Ad-Hoc Command to Work with Files - Assessment•15 Minuten
In this module, we will learn to install software packages on different OS families using Ansible. You will gain hands-on experience with yum and apt modules to ensure consistent package management across diverse environments.
Das ist alles enthalten
1 Video1 Aufgabe
1 Video•Insgesamt 6 Minuten
- Ansible Ad-Hoc Commands with yum and apt Modules to Install Packages•6 Minuten
1 Aufgabe•Insgesamt 15 Minuten
- Installing Packages on Different OS Families - Assessment•15 Minuten
In this module, we will explore how to run Ansible ad-hoc commands on the controller node itself. This knowledge is essential for tasks requiring local execution or testing configurations before deployment.
Das ist alles enthalten
1 Video
1 Video•Insgesamt 2 Minuten
- Executing Ansible Ad-Hoc Commands on Ansible Controller Node Itself•2 Minuten
In this module, we will focus on the idempotent nature of Ansible tasks. You will understand why predictable outputs are critical in automation and how to interpret task results to ensure reliable execution.
Das ist alles enthalten
1 Video1 Aufgabe
1 Video•Insgesamt 3 Minuten
- Why Ansible Operations or Tasks Are Called Idempotent?•3 Minuten
1 Aufgabe•Insgesamt 15 Minuten
- Understanding the Output of Ansible Ad-Hoc Commands Output - Assessment•15 Minuten
In this module, we will guide you through executing ad-hoc commands with real-time user credentials. Learn how Ansible manages authentication securely and efficiently while maintaining compliance with best practices.
Das ist alles enthalten
1 Video1 Aufgabe
1 Video•Insgesamt 12 Minuten
- Executing Ansible Ad-Hoc Commands with Your Real-Time User ID and Password•12 Minuten
1 Aufgabe•Insgesamt 15 Minuten
- Executing Ansible Ad-Hoc Commands with Your User ID and Password - Assessment•15 Minuten
In this module, we will explore Ansible inventory files. You will learn how to structure inventories to handle multiple environments, categorize hosts, and optimize automation workflows.
Das ist alles enthalten
2 Videos1 Aufgabe
2 Videos•Insgesamt 13 Minuten
- Inventory File(s) to Work with Multiple Environments•9 Minuten
- Types of Ansible Inventory Files•3 Minuten
1 Aufgabe•Insgesamt 15 Minuten
- Ansible Inventory File(s) - Assessment•15 Minuten
In this module, we will focus on Ansible configuration files. You will understand how configuration settings are applied and how to manage these files to customize Ansible behavior effectively.
Das ist alles enthalten
1 Video1 Aufgabe
1 Video•Insgesamt 5 Minuten
- Multiple Locations of Ansible Configuration Files and Their Priority•5 Minuten
1 Aufgabe•Insgesamt 15 Minuten
- Ansible Configuration File(s) - Assessment •15 Minuten
In this module, we will learn to enhance automation capabilities by embedding Ansible commands in shell scripts. This powerful combination enables you to handle intricate tasks with ease and precision.
Das ist alles enthalten
1 Video1 Aufgabe
1 Video•Insgesamt 3 Minuten
- How to Use Ansible Ad-Hoc Commands in Shell Scripts•3 Minuten
1 Aufgabe•Insgesamt 15 Minuten
- Using Ansible Ad-hoc Commands in Shell Scripts - Assessment•15 Minuten
In this module, we will explore Ansible facts. You will learn how to use default facts and create custom facts to gather detailed information about your infrastructure for better automation strategies.
Das ist alles enthalten
2 Videos1 Aufgabe
2 Videos•Insgesamt 9 Minuten
- Ansible Default Facts with setup Module•4 Minuten
- How to Create Custom Facts Based on Requirement•5 Minuten
1 Aufgabe•Insgesamt 15 Minuten
- Exploring Ansible Facts•15 Minuten
In this module, we will be introduced to Ansible playbooks, a cornerstone of automation. You will understand their structure, create your first playbook, and learn to verify syntax before execution.
Das ist alles enthalten
5 Videos1 Aufgabe
5 Videos•Insgesamt 35 Minuten
- Introduction to Playbooks and Why We Need Playbooks•11 Minuten
- How to Use Visual Studio Code Editor to Develop Ansible Playbooks•4 Minuten
- First Playbook•14 Minuten
- Executing Playbooks on Ansible Controller Node Itself•2 Minuten
- Commands to Verify the Playbook Syntax•4 Minuten
1 Aufgabe•Insgesamt 15 Minuten
- Introduction to Playbooks•15 Minuten
In this module, we will cover foundational concepts for developing playbooks. From variables to YAML scripting, you will gain the skills to create adaptable and efficient automation scripts.
Das ist alles enthalten
8 Videos1 Aufgabe
8 Videos•Insgesamt 51 Minuten
- Introduction to Ansible Custom Variables•11 Minuten
- Data Types of Variables•7 Minuten
- Data Structures of YAML Scripting•6 Minuten
- Read Variable Values from a File•5 Minuten
- Passing Variable(s) Value(s) from Command-Line•4 Minuten
- Usage of vars_prompt Section in Playbooks•5 Minuten
- host_vars and group_vars•11 Minuten
- Debug Module with vars and msg Arguments•3 Minuten
1 Aufgabe•Insgesamt 15 Minuten
- Basic Concepts to Develop Playbooks - Assessment•15 Minuten
In this module, we will delve into variable management in playbooks. Learn to register task outputs and redefine variables mid-playbook for seamless and dynamic automation workflows.
Das ist alles enthalten
2 Videos1 Aufgabe
2 Videos•Insgesamt 9 Minuten
- Ansible Register Variable - To Capture the Output of a Task into Variable•6 Minuten
- Ansible Set Fact Variables - Define or Redefine Variable(s) in Between the Tasks•2 Minuten
1 Aufgabe•Insgesamt 15 Minuten
- Registered and setfacts Variables - Assessment•15 Minuten
In this module, we will explore various operations on variables in playbooks. You will learn to manipulate data using operators and filters, enhancing your ability to create dynamic and responsive playbooks.
Das ist alles enthalten
11 Videos1 Aufgabe
11 Videos•Insgesamt 35 Minuten
- Types of Operators | Operations on Variables•1 Minute
- Arithmetic Operators•2 Minuten
- Filters and Methods Usage to Manipulate Data - Variable Data or Direct Data•5 Minuten
- Comparison Operators | Equal, Not-Equal, Greater, Lesser…•2 Minuten
- Membership Operators•2 Minuten
- Logical Operators•1 Minute
- Test Operators•3 Minuten
- Operations on List or Sequence•8 Minuten
- Operations on Strings•4 Minuten
- Operations on Dictionaries or Maps•5 Minuten
- Points to Remember•2 Minuten
1 Aufgabe•Insgesamt 15 Minuten
- Operations on Variables - Assessment•15 Minuten
In this module, we will master conditional statements in playbooks. From when clauses to in-line logic, you’ll learn to create adaptable and context-aware automation scripts.
Das ist alles enthalten
2 Videos1 Aufgabe
2 Videos•Insgesamt 10 Minuten
- Conditional Statement with when•4 Minuten
- In-Line Conditional Statement with if-else•6 Minuten
1 Aufgabe•Insgesamt 15 Minuten
- Operations on Variables - Assessment•15 Minuten
In this module, we will practice creating basic playbooks. These exercises will reinforce your understanding of core playbook concepts and help you apply them in real-world scenarios.
Das ist alles enthalten
4 Videos1 Aufgabe
4 Videos•Insgesamt 32 Minuten
- Design Simple Arithmetic Calculator•8 Minuten
- Simple Playbook to Find the Python Version•8 Minuten
- Playbook to Find the Java Version•8 Minuten
- Playbook to Execute Any Command•8 Minuten
1 Aufgabe•Insgesamt 15 Minuten
- Ansible Playbooks to Practice on Basic Concepts - Assessment•15 Minuten
In this module, we will deepen our understanding of Ansible facts. Learn to gather and utilize system-level information for advanced playbook automation.
Das ist alles enthalten
3 Videos1 Aufgabe
3 Videos•Insgesamt 17 Minuten
- Working with Ansible Facts (Default Facts) Using Playbooks•5 Minuten
- Service or Systemd Facts with service_facts Module•7 Minuten
- inventory_hostname and hostvars•5 Minuten
1 Aufgabe•Insgesamt 15 Minuten
- Ansible Facts (Default Facts) and Systemd Facts - Assessment•15 Minuten
In this module, we will learn about privilege escalation in Ansible. You will understand how to execute tasks as different users or with elevated privileges safely and efficiently.
Das ist alles enthalten
1 Video1 Aufgabe
1 Video•Insgesamt 8 Minuten
- Usage of become, become_user, and become_method•8 Minuten
1 Aufgabe•Insgesamt 15 Minuten
- Usage of become and become_user - Assessment•15 Minuten
In this module, we will explore task reusability. Learn how to use import_tasks and include_tasks to streamline your playbook development and ensure maintainability.
Das ist alles enthalten
4 Videos1 Aufgabe
4 Videos•Insgesamt 30 Minuten
- Installing Given Package Based on OS Family•7 Minuten
- Install a Package Based on Managed Nodes Package Managers•6 Minuten
- Write a Playbook to Install Any Package(s)•9 Minuten
- How to Reuse Ansible-Tasks with import_tasks and include_tasks•8 Minuten
1 Aufgabe•Insgesamt 15 Minuten
- Installing Packages | Task Reusability with import_tasks and include_tasks - Assessment•15 Minuten
In this module, we will cover handlers, a powerful feature in Ansible. You’ll learn to create and manage handlers to execute tasks based on specific triggers, adding flexibility to your automation.
Das ist alles enthalten
1 Video1 Aufgabe
1 Video•Insgesamt 10 Minuten
- How to Use Handlers and When Handlers Execute•10 Minuten
1 Aufgabe•Insgesamt 15 Minuten
- Efficient Use of Ansible Handlers - Assessment•15 Minuten
In this module, we will focus on the use of tags in playbooks. You will learn to execute only the necessary tasks, improving efficiency and precision in automation.
Das ist alles enthalten
1 Video1 Aufgabe
1 Video•Insgesamt 5 Minuten
- How to Use Tags to Execute Tasks•5 Minuten
1 Aufgabe•Insgesamt 15 Minuten
- Usage of Tags to Execute Required Tasks - Assessment•15 Minuten
In this module, we will learn error-handling strategies in Ansible. From basic error handling to advanced constructs like block and rescue, you’ll ensure robust and fail-safe automation.
Das ist alles enthalten
2 Videos1 Aufgabe
2 Videos•Insgesamt 22 Minuten
- Error Handling | Part-1•7 Minuten
- Error Handling with block and rescue and Also Grouping Multiple Tasks | Part-2•15 Minuten
1 Aufgabe•Insgesamt 15 Minuten
- Error Handling - Assessment•15 Minuten
In this module, we will explore Ansible logging. You’ll learn to capture task outputs and playbook execution details in log files, enabling effective debugging and auditing.
Das ist alles enthalten
1 Video1 Aufgabe
1 Video•Insgesamt 4 Minuten
- Capturing the Output of Ansible Ad-Hoc Commands and Playbooks into a Log File•4 Minuten
1 Aufgabe•Insgesamt 15 Minuten
- Ansible Logging - Assessment•15 Minuten
In this module, we will explore advanced options like remote_src, delegate_to, and run_once. These features enable precise task control and efficient resource utilization.
Das ist alles enthalten
2 Videos1 Aufgabe
2 Videos•Insgesamt 34 Minuten
- Install and Set JAVA_HOME as Environment Variable for All Applications•19 Minuten
- Playbook to Set JAVA_HOME for Any Open JDK with Valid URL•15 Minuten
1 Aufgabe•Insgesamt 15 Minuten
- Ansible Playbook for JAVA_HOME setup - Assessment•15 Minuten
In this module, we will create a comprehensive playbook combining various advanced features. You will see how to use tags, blocks, and handlers together to solve real-world automation challenges.
Das ist alles enthalten
1 Video1 Aufgabe
1 Video•Insgesamt 23 Minuten
- Simple Real-Time Ansible Playbook with the Combination of Tags, Block and Handlers•23 Minuten
1 Aufgabe•Insgesamt 15 Minuten
- Simple Real-Time Ansible Playbook - Assessment•15 Minuten
In this module, we will explore the power of loops in playbooks. Learn to handle repetitive tasks and work with data structures like lists and dictionaries to simplify automation.
Das ist alles enthalten
4 Videos1 Aufgabe
4 Videos•Insgesamt 21 Minuten
- Introduction to Loops•5 Minuten
- Loops to Work with List•1 Minute
- Installing Multiple Packages with Loops•2 Minuten
- Loops to Work Dictionaries•12 Minuten
1 Aufgabe•Insgesamt 15 Minuten
- Loops for Ansible Playbooks - Assessment 26•15 Minuten
In this module, we will learn to work with the template module. You’ll create dynamic, environment-specific configuration files that adapt seamlessly to changing requirements.
Das ist alles enthalten
2 Videos1 Aufgabe
2 Videos•Insgesamt 14 Minuten
- Introduction to Template Module•8 Minuten
- Template File with Variables, Conditions, and Loops•6 Minuten
1 Aufgabe•Insgesamt 15 Minuten
- Working with Templates - Assessment•15 Minuten
In this module, we will introduce Ansible plugins. You’ll understand how plugins extend functionality and streamline complex automation scenarios.
Das ist alles enthalten
1 Video1 Aufgabe
1 Video•Insgesamt 3 Minuten
- What Is an Ansible Plugin and How to List Required Plugins?•3 Minuten
1 Aufgabe•Insgesamt 15 Minuten
- Introduction to Plugin - Assessment•15 Minuten
In this module, we will explore third-party collections and modules. Learn to expand Ansible’s capabilities by integrating community-contributed resources effectively.
Das ist alles enthalten
1 Video1 Aufgabe
1 Video•Insgesamt 11 Minuten
- Installing Required Collections or Required Module from Required Namespace•11 Minuten
1 Aufgabe•Insgesamt 15 Minuten
- Working with Third-Party or Ansible Community Collections or Modules - Assessment•15 Minuten
In this module, we will focus on dynamic inventory management. Discover how to use plugins to manage AWS resources dynamically and streamline inventory handling.
Das ist alles enthalten
2 Videos1 Aufgabe
2 Videos•Insgesamt 31 Minuten
- Ansible Dynamic Inventory for AWS with Plugin•15 Minuten
- Ansible Dynamic Inventory and Working with Managed Nodes Using Default ec2-us•16 Minuten
1 Aufgabe•Insgesamt 15 Minuten
- Ansible Dynamic Inventory with Plugins - Assessment•15 Minuten
In this module, we will explore Ansible roles. Learn how to simplify playbook organization by structuring tasks into reusable roles for improved clarity and scalability.
Das ist alles enthalten
1 Video1 Aufgabe
1 Video•Insgesamt 13 Minuten
- Introduction to Ansible Roles•13 Minuten
1 Aufgabe•Insgesamt 15 Minuten
- Ansible Roles - Assessment•15 Minuten
In this module, we will learn about Ansible Vault. You’ll gain the skills to encrypt sensitive information and manage secrets securely within your automation workflows.
Das ist alles enthalten
1 Video1 Aufgabe
1 Video•Insgesamt 14 Minuten
- How to Use Ansible Vault to Encrypt Secrets•14 Minuten
1 Aufgabe•Insgesamt 15 Minuten
- Using Ansible Vault for Secure Playbook Management - Assessment•15 Minuten
In this module, we will explore the Raw module. Learn to manage systems without Python installed and execute commands directly on target nodes efficiently.
Das ist alles enthalten
1 Video1 Aufgabe
1 Video•Insgesamt 4 Minuten
- Working with Managed Nodes if Managed Nodes Are Installed with Python•4 Minuten
1 Aufgabe•Insgesamt 15 Minuten
- Raw Module - Assessment•15 Minuten
In this module, we will set up a real-time Ansible project. From directory structures to secure authentication methods, you’ll prepare a robust foundation for managing live server environments.
Das ist alles enthalten
4 Videos3 Aufgaben
4 Videos•Insgesamt 31 Minuten
- Different Cases to Work with Remote Servers or Managed Nodes•2 Minuten
- Directory Structure for Real-Time Project•4 Minuten
- Working with User ID and Password for Ansible Ad-Hoc Commands and Playbooks•15 Minuten
- Working with SSH Keys for Ansible Ad-Hoc Commands and Playbooks•11 Minuten
3 Aufgaben•Insgesamt 90 Minuten
- Ansible Project Setup for Real Time to Work with Servers - Assessment•15 Minuten
- Full Course Assessment•60 Minuten
- Full Course Practice Assessment•15 Minuten
Dozent

von

von

Packt helps tech professionals put software to work by distilling and sharing the working knowledge of their peers. Packt is an established global technical learning content provider, founded in Birmingham, UK, with over twenty years of experience delivering premium, rich content from groundbreaking authors on a wide range of emerging and popular technologies.
Mehr von Support and Operations entdecken
WWhizlabs
Kurs
BBoard Infinity
Kurs

Kurs
Warum entscheiden sich Menschen fĂĽr Coursera fĂĽr ihre Karriere?

Felipe M.

Jennifer J.

Larry W.

Chaitanya A.
Häufig gestellte Fragen
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.
Weitere Fragen
Finanzielle UnterstĂĽtzung verfĂĽgbar,



