001Ansible working mechanism of learning __ansible

Brief


   Ansible no client, dependent on the underlying communication software, based on the Linux system OpenSSH communication, user authentication by the management node invokes various application modules will push instruction is performed by the management terminal Ansible tool automatically deleted after the implementation of temporary files produced.

 

Ansible course of division of roles:


     1, users: Ansible toolset

  2, the role of objects: hosts managed.

 

Ansible working mechanism


As shown below, divided into three parts:

The first part - users

  Ansible most users come from all four methods.

  1, CMDB (Configuration Management Database, configuration management database), storage and CMDB manages the configuration information for enterprise IT architecture is to build a core tool for ITIL projects, operation and maintenance personnel can be combined (CMDB and Ansible), by direct CMDB issued a command to call ansible tools to complete the desired target operator reached.

  2, PUBLIC (public cloud) / PRIVATE (private cloud) mode, Ansible addition to a wealth of built-in modules, while providing a rich API interface to the language, such as PHP, Python, and other current popular language, Ansible run as API calls.

  3, the user directly using Ad-Hoc temporary command set call Ansible tools to accomplish the task execution.

  4, the user prewritten Ansible Playbook good pre-programmed set of tasks in order to complete the task execution.

 

A second portion --Anisble toolset

  ansible command is ansible core tools, ansible command not complete all of its own feature set, just call entry Ansible mission, all the commands of the set is completed by a tool, the core tool ansible command:

  • INWENTORY: Audience command configuration file
  • API: Application Programming Interface provides a third seal program calls
  • MODULES: a wealth of built-in module
  • PLUGNS: built-in and custom plug-ins

 

Part III - the role of objects

  Anisble the role of the object: the host operating system (Linux, windows, etc.), network facilities of various types of public and private cloud, commercial and non-commercial devices.

 

Guess you like

Origin www.cnblogs.com/lizhi199322/p/12635615.html