What is Ansible?
Updated at:
Copy as MD
Ansible is an open source product that automates resource configuration management and application deployment. On Alibaba Cloud, you can use Ansible to create infrastructure, such as virtual machines, containers, and networks. You can also use Ansible to automatically configure resources and deploy applications in your environment.
Terms
Before using Ansible, understand the following core concepts:
Ansible playbook
- Ansible playbook is used to define Ansible configuration, deployment, and orchestration. Playbooks use the YAML format to describe a set of policies or a series of steps in a common IT process for a remote system to execute.
Ansible module
- Ansible module is the core unit for executing tasks in Ansible. Modules are standalone code that can be run from the command line or a playbook. Ansible modules are idempotent.
Scenarios
You can use Ansible to manage and create Alibaba Cloud resources:
- Manage deployments with dynamic inventory
Ansible uses its dynamic inventory feature to pull inventory from Alibaba Cloud resources. For more information, see Using dynamic Inventory.
- Manage Alibaba Cloud resources with Ansible modules
You can use Alibaba Cloud Ansible modules to configure and create Alibaba Cloud resources, such as ECS instances, networks, and containers.
The Alibaba Cloud Ansible modules are available on GitHub.Note Modules with the_alicloudprefix are deprecated. Use modules with thealiprefix.
Is this page helpful?