Get the App
SLTechnology News&Howtos  ›  Servers  › 

Automatic operation and maintenance tool ansible-- installation and module management

Shulou Source: shulou.com Published: 2022-06-03 09:51:41 09月21日 Update

Introduction to ansible

  ansible is a new automatic operation and maintenance tool. Based on Python development, it integrates the advantages of many operation and maintenance tools (puppet, cfengine, chef, func, fabric), and realizes the functions of batch system configuration, batch program deployment, batch running commands and so on.

  ansible works based on modules and does not have the ability to deploy in batches. What really has batch deployment is the module that ansible runs, and ansible only provides a framework. It mainly includes:

(1) connection plug-in connection plugins: responsible for communicating with the monitored end

(2), host inventory: specify the host for operation, which is the host for monitoring defined in the configuration file.

(3) various modules core module, command module, custom module

(4) with the help of plug-ins, log mail and other functions are completed.

(5), playbook: when the script performs multiple tasks, it is not necessary to let the node run multiple tasks at one time.

The architecture of ansible connects to other hosts by default using ssh protocol

Tags: Module host file management task information command plug-in week user service configuration password list run function multiple attribute situation usage Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux Shulou Technology Microsoft Shulou Tech Info Shulou Information