Packt
Ansible and Ansible-Playbooks for Automation
Packt

Ansible and Ansible-Playbooks for Automation

包含在 Coursera Plus

深入了解一个主题并学习基础知识。
中级 等级

推荐体验

3 周 完成
在 10 小时 一周
灵活的计划
自行安排学习进度
深入了解一个主题并学习基础知识。
中级 等级

推荐体验

3 周 完成
在 10 小时 一周
灵活的计划
自行安排学习进度

您将学到什么

  • 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.

要了解的详细信息

可分享的证书

添加到您的领英档案

作业

36 项作业

授课语言:英语(English)

了解顶级公司的员工如何掌握热门技能

Petrobras, TATA, Danone, Capgemini, P&G 和 L'Oreal 的徽标

该课程共有36个模块

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.

涵盖的内容

3个视频1篇阅读材料

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.

涵盖的内容

8个视频1个作业1个插件

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.

涵盖的内容

4个视频1个作业1个插件

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.

涵盖的内容

6个视频1个作业1个插件

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.

涵盖的内容

1个视频1个作业1个插件

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.

涵盖的内容

1个视频1个插件

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.

涵盖的内容

1个视频1个作业1个插件

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.

涵盖的内容

1个视频1个作业1个插件

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.

涵盖的内容

2个视频1个作业1个插件

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.

涵盖的内容

1个视频1个作业1个插件

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.

涵盖的内容

1个视频1个作业1个插件

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.

涵盖的内容

2个视频1个作业1个插件

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.

涵盖的内容

5个视频1个作业1个插件

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.

涵盖的内容

8个视频1个作业1个插件

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.

涵盖的内容

2个视频1个作业1个插件

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.

涵盖的内容

11个视频1个作业1个插件

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.

涵盖的内容

2个视频1个作业1个插件

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.

涵盖的内容

4个视频1个作业1个插件

In this module, we will deepen our understanding of Ansible facts. Learn to gather and utilize system-level information for advanced playbook automation.

涵盖的内容

3个视频1个作业1个插件

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.

涵盖的内容

1个视频1个作业1个插件

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.

涵盖的内容

4个视频1个作业1个插件

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.

涵盖的内容

1个视频1个作业1个插件

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.

涵盖的内容

1个视频1个作业1个插件

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.

涵盖的内容

2个视频1个作业1个插件

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.

涵盖的内容

1个视频1个作业1个插件

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.

涵盖的内容

2个视频1个作业1个插件

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.

涵盖的内容

1个视频1个作业1个插件

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.

涵盖的内容

4个视频1个作业1个插件

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.

涵盖的内容

2个视频1个作业1个插件

In this module, we will introduce Ansible plugins. You’ll understand how plugins extend functionality and streamline complex automation scenarios.

涵盖的内容

1个视频1个作业1个插件

In this module, we will explore third-party collections and modules. Learn to expand Ansible’s capabilities by integrating community-contributed resources effectively.

涵盖的内容

1个视频1个作业1个插件

In this module, we will focus on dynamic inventory management. Discover how to use plugins to manage AWS resources dynamically and streamline inventory handling.

涵盖的内容

2个视频1个作业1个插件

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.

涵盖的内容

1个视频1个作业1个插件

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.

涵盖的内容

1个视频1个作业1个插件

In this module, we will explore the Raw module. Learn to manage systems without Python installed and execute commands directly on target nodes efficiently.

涵盖的内容

1个视频1个作业1个插件

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.

涵盖的内容

4个视频3个作业

位教师

Packt - Course Instructors
Packt
971 门课程234,954 名学生

提供方

Packt

从 Support and Operations 浏览更多内容

人们为什么选择 Coursera 来帮助自己实现职业发展

Felipe M.
自 2018开始学习的学生
''能够按照自己的速度和节奏学习课程是一次很棒的经历。只要符合自己的时间表和心情,我就可以学习。'
Jennifer J.
自 2020开始学习的学生
''我直接将从课程中学到的概念和技能应用到一个令人兴奋的新工作项目中。'
Larry W.
自 2021开始学习的学生
''如果我的大学不提供我需要的主题课程,Coursera 便是最好的去处之一。'
Chaitanya A.
''学习不仅仅是在工作中做的更好:它远不止于此。Coursera 让我无限制地学习。'
Coursera Plus

通过 Coursera Plus 开启新生涯

无限制访问 10,000+ 世界一流的课程、实践项目和就业就绪证书课程 - 所有这些都包含在您的订阅中

通过在线学位推动您的职业生涯

获取世界一流大学的学位 - 100% 在线

加入超过 3400 家选择 Coursera for Business 的全球公司

提升员工的技能,使其在数字经济中脱颖而出

常见问题