Mastering OpenStack(Second Edition)
上QQ阅读APP看书,第一时间看更新

Modules

Ansible modules are constructs that encapsulate a system resource or action. A module models the resource and its attributes. Ansible comes with packages with a wide range of core modules to represent various system resources; for example, the file module encapsulates a file on the system and has attributes such as owner, group, mode, and so on. These attributes represent the state of a file in the system; by changing the attributes of the resources, we can describe the required final state of the system.

Ansible also provides great and stable modules designated for multiple cloud providers and virtualization engines, including OpenStack. Take a look at the official website for the supported OpenStack modules found at: http://docs.ansible.com/ansible/list_of_cloud_modules.html#openstack