***mgmt node** - Ansible management node is the machine where the Ansible is installed & which is responsible for configuration of all server machines.
Inventory:- Inventory is a file which consists of IP Address of all servers on which configuration is to be done.
Playbook: Playbook is used to manage configuration which can be deployed on the remote machines. Playbook is designed in simple human-readable format, so that it becomes easy to understand the code.
Task:- Task is the file where a user defines the steps that he needs to perform on the Playbook.
Module:- Ansible has in-built modules that can be executed directly on remote hosts or through Playbooks. Users can also write their own modules. These modules can control system resources, like services, packages, or files or handle execution of system commands.
Role: Role is used for organizing Playbooks and other files in order to facilitate sharing and reusing portions of a provisioning.
Play: A provisioning executed from start to finish is called a Play.
Facts:Used to get the system information while running the playbook, like network interfaces or operating system.
Handlers: Handlers which are similar to a task, can be used to restart or to stop a service.
ansible all --inventory-file=inventory.ini --module-name ping -u root