這段話解釋了terraform 和ansible的區(qū)別, terraform描述最終狀態(tài), ansible對應(yīng)過程.
一個是configuration managment tool, install and manage software on existing servers
一個是provisioning tool, designed to provision the servers themselves
Chef, Puppet, Ansible, and SaltStack are all configuration management tools, which means they are designed to install and manage software on existing servers. CloudFormation and Terraform are provisioning tools, which means they are designed to provision the servers themselves (as well as the rest of your infrastructure, like load balancers, databases, networking configuration, etc), leaving the job of configuring those servers to other tools. These two categories are not mutually exclusive, as most configuration management tools can do some degree of provisioning and most provisioning tools can do some degree of configuration management. But the focus on configuration management or provisioning means that some of the tools are going to be a better fit for certain types of tasks.