DevOps - configuration management tools Ansible

Configuration Management Tools

Configuration management tool (SCM, Software Configuration Management) Code, implemented in software infrastructure configuration information can be saved, it can be repeatedly changed according to changes in demand.
Related tools include Ansible, Chef, Puppe, SaltStack other version management tools Git, Subversion and so on.

  • Save time and effort: quick setup through automation
  • Declarative: a clear description of the specific state of the current configuration object configuration information
  • Abstraction: the configuration information that covers the subtle environmental differences
  • Convergence: regardless of the state of the object, it will eventually reach the desired state
  • Idempotence: No matter how many times to perform, can get the same result

Ansible

Ansible is based on an open source python language development tools and automated operation and maintenance platform, a collection of many advantages of the operation and maintenance of tools, to achieve a bulk configuration management, application deployment and run batch commands to perform specific tasks and other functions.
Ansible to SSH-based communications and remote hosts, no need to install client / agents on the remote host.
Ansible only provide a framework, it does not have the ability to batch deployment. Volume deployment is truly module ansible runs. mainly includes:

  • Connection plug connection plugins: be responsible for monitoring client and communicate
  • host inventory: operation specified by the host, the host is a configuration file which defines monitor
  • The various modules core module, command module, custom modules
  • By means of plug-in to complete the log-mail and other functions
  • playbook: When the script to perform multiple tasks, you can make a one-time non-essential tasks to run multiple nodes

Official website with tutorials

Guess you like

Origin www.cnblogs.com/anliven/p/11823891.html