How does Ansible work?
Ansible connects to your nodes and pushes out small programs (Ansible modules). These programs are written to be resource modules of the desired state of the system. Ansible then executes these modules (through SSH), and removes them when finished. Therefore Ansible only requires an SSH connection to run your Ansible playbooks without installing any agent.
An Ansible playbook consists of some playbook information and a set of tasks. Playbooks are simple data descriptions of your infrastructure, are human-readable and machine-parsable. You can include several playbooks in one playbook so you can run your different tasks after each other.
Ansible uses a simple text file (hosts) to manage your machines so you can group your nodes with ease. This way you can run a playbook for one or more groups. For example, your web servers, dbservers etc.
Do you want create and run your first playbook on Fuga Cloud? Get started now.