Lets define ansible in our own ways?

DevOps

MOTOSHARE 🚗🏍️
Turning Idle Vehicles into Shared Rides & Earnings

From Idle to Income. From Parked to Purpose.
Earn by Sharing, Ride by Renting.
Where Owners Earn, Riders Move.
Owners Earn. Riders Move. Motoshare Connects.

With Motoshare, every parked vehicle finds a purpose. Owners earn. Renters ride.
🚀 Everyone wins.

Start Your Journey with Motoshare
  • What is Ansible?
  • Why We need Ansible? Its Benefits?
  • How Ansible Works?
  • Ansible Architecture?
  • Components of Ansible
  • What are the types of Inventory we can pass?
  • Top 10 Ansible Modules?

Write an Answer in comments sections?

Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

24 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
iyyappan
iyyappan
1 month ago

What is Ansible? Ansible is a server config management tool
Why We need Ansible? Its Benefits? time, cost, 
How Ansible Works? using python
Ansible Architecture? ACS and ARS
Components of Ansible control node managegd node, inventory, module, plugin
What are the types of Inventory we can pass? command and file
Top 10 Ansible Modules? copy, package, yum, ping, command 

Abdul Rahim Khan
Abdul Rahim Khan
1 month ago

1.Ansible is an open source toll used for Configuration Management, Application Development, Provisioning (e.g., cloud resources), Orchestration of complex IT tasks

Krishna
Krishna
1 month ago

1. What is Ansible?
  Ansible is a tool to automate computer tasks like setup and deployment.

2. Why We need Ansible? Its Benefits?
  We need Ansible to save time, reduce errors, and easily manage many computers.

3. How Ansible Works?
  Ansible connects to computers via SSH and runs instructions from playbooks.

4. Ansible Architecture?
  Ansible uses a control node to manage multiple remote nodes without agents.

5. Components of Ansible
  Key parts are Inventory, Playbooks, Modules, Plugins, and the Control Node.

6. What are the types of Inventory we can pass?
  Static (files) and Dynamic (scripts or cloud sources) inventories.

7. Top 10 Ansible Modules?
  Common ones are: command, shell, copy, file, yum, apt, service, user, git, and template.

Muruganandham S
Muruganandham S
1 month ago
  1. config management tool
  2. Save time, cost and efficiency(idempotency)
  3. Works over python. There will be a ACS and ARS which is communicated over SSH or winrm. Communicates and get the remote host module actions executed.
  4. Architecture consists of executable, module, plugin and global config file.
  5. Inventory can be of direct IP, FQDN, list of host, host group, group of group
  6. Top modules
  7. apt
  8. copy
  9. command
  10. service
  11. file
  12. shell
  13. git
  14. user
  15. ping
  16. debug
praveen
praveen
1 month ago
  1. config management tool
  2. we can execute the same cmd/playbook on multiple inventory
  3. It is an agent less, connects to the ARS directly from ACS.
  4. ACS to multple ARS
  5. inventory,playbook
  6. single node, on all nodes, group of nodes, or a specific group
  7. copy.py, file.py, apt.py, service.py
Rama Yerramsetti
Rama Yerramsetti
1 month ago

What is Ansible?
Tool used for configuration management, application deployment, and task automation

Why We need Ansible? Its Benefits?
deploy across multiple environments, useful in environments where multiple tasks work independently

How Ansible Works?
it will connects to managed nodes and push the codes with stateless

Ansible Architecture?
controlnodes
managed nodes
inventory
modules
plugins

Components of Ansible
inventory
modules
playbooks
tasks
roles
handlers

What are the types of Inventory we can pass?
host_variable
group_variable

Top 10 Ansible Modules?
file
directory
user
group
service
apt
yum
cmd
script
package

kiran kumar m
kiran kumar m
1 month ago

1)Configuration management tool for app deployments, any task automations, by using yaml files which we call as playbooks.
2)we need ansible because it automates tasks like any package installations or run any multiplle scripts at once, benefits are like saving time, reducing mistakes etc.
3)Ansible works by writing playbooks, it uses ssh to connect to the machines.
4)control nodes, managed nodes, inventory file, playbooks,modules

Hemalatha Elluru
Hemalatha Elluru
1 month ago

1a) Ansible is a configuration management tool.
2a) We need ansible as we can install softwares, configurations and automation. Yes
3a) Ansible works as a agentless
4a) Ansible architecture is Aka
5a) Components of Ansible are inventory, plugins, roles ,vars, templates, handlers
6a) we can pass 2 types they are 1. all and 2. nogroup
7a) apt, package, debug, service, command, copy, package,file, ping,template …etc

Ajay Kumar yadav
Ajay Kumar yadav
1 month ago
  1. Ansible – its an config management tool, servers management tool written in python
  2. Need/benefit of Ansible – it provide provisioning, configuration management, application deployment and orchestration
  3. Ansible works – ansible interact with network and send programs known as modules.
  4. Ansible Architecture – it consist of modules, playbooks, plugins, inventories, API, Host and networking and cloud.
  5. Components of Ansible – Control nodes, managed nodes, Inventories, Playbooks, roles, plugin, collections
  6. Types of inventories pass: we pass two type of inventory static and dynamic
Karthick
Karthick
1 month ago

What is Ansible?
Config Management toolWhy We need Ansible? Its Benefits?
Save timeSave costImprove efficiencyHow Ansible Works?
Human –> ACS –> ARSAnsible Architecture?
Human –> ACS –> ARSComponents of Ansible
ExecutableModulePlginWhat are the types of Inventory we can pass?
cmdfilescriptdirectoryTop 10 Ansible Modules?

filedirectoryusergroupserviceaptyumcmdscriptbashpackage

Last edited 1 month ago by Karthick
Sumit
Sumit
1 month ago
  • What is Ansible?
  • Ansible is config mgt tool.
  • Why We need Ansible? Its Benefits?
  • we need Ansible to automate repeatable task at scale.. Its benefits are:
  • simple easy to learn
  • Agentless Architecture
  • Idempotency
  • IAC infrastructure as code
  • How Ansible Works?
  • Ansible works by connecting from Ansible Control Server (ACS) to Ansible Remote Server (ARS) and executing steps defined in playbook.
  • Ansible Architecture?
  • Ansible have Control servers from where commands are originates and remove servers where commands are executed using SSH /wind rm connection protocol.
  • Components of Ansible
  • Inventory / playbooks / modules / plugins / remote servers / control servers.
  • What are the types of Inventory we can pass?
  • static inventory / dynamic inventory
  • Top 10 Ansible Modules?
  • Copy / group / user / command / apt / yum /file /debug / ping / template
Insha Begum Shaikh
Insha Begum Shaikh
1 month ago

1] It is a configuration management tool used to automate task

2] To make work easier by automating task via playbooks. It is agent-less and follows idempotence.

3] Connects to remote machine over SSH and pushes small programs called modules to execute taks. Uses inventory files to define hosts and playbooks

4] Consists of control nodes, modules, playbook and inventory file. Connected via SSH connection

5] Inventory, modules, playbooks, tasks, roles, variables, templates, handlers, plugins, facts

6] 2 types of inventory we can pass: static and dynamic

7] ping, copy, file, yum/apt, service, package, user, group, authorized_key, shell

kiran kumar m
kiran kumar m
1 month ago

5)types of inventories – static inventory, dynamic inventroy
6)

Prashanth
Prashanth
1 month ago

What is ansible?

It is a configuration management tool that allows us to manage the configuration in the servers. It is from Redhat and Written in python

Benefits?

It saves time for deployments to 100’s of servers

It saves cost as it is open sources and free.

Configurations are written through coding, that helps for automations.

improves the efficiency in work.

IDEOMPOTENT

How it Works? and architecture?

It has 2 major components.

ACS – Ansible control server

ARS – Ansible Remote server

Below is the flow.

HUMAN —-> ACS —> ARS

Also it has Executables under /usr/bin/ansi*, 

modules which is a python code present in ACS and runs in ARS, 

plugins are the features of ansible, which is also python code running in ACS,

configfile under /etc/ansible/ansible.cfg – contains settings and help to override the default settings.

Components:

Playbook

Inventory

config file

Types of inventory we can pass?

CMD,

file,

script,

directory

Top 10 modules?

  file

directory

user

group

service

apt

yum

cmd

script

bash

package

Abdul Rahim Khan
Abdul Rahim Khan
1 month ago

Modern IT systems often involve thousands of servers or environments. Managing them manually is slow, error-prone, inconsistent and it will be hard to scale. So using ansible tool, it gives us 1. Set up new servers automatically. 2. Deploy applications consistently. 3. Enforce configurations across environments. 4. Manage infrastructure as code.

Uttam Kumar
Uttam Kumar
1 month ago

Q1. Ansible – It is redhat own by, now bought by IBM, is a configuration management tool which manage hosts configuration and other activities on hosts. Its is a prime leader in configuration management tools such as chef, puppet, ie.

Ansbile is a sort of automation tools which offer various python programs and utility to
manage complete infrastructure via command line or via GUI with various options.

Q2. – We need Ansible to perform various automation on list of hosts or inventory, we can also setup & configure hosts at bulk level with less time, it also offer idempotent which is nothing but manage state if any task has been executed at once then it will maintain the state of the activities and only perform required, updated instruction via various commands. It also save time, cost and improve efficiency in work place.

Q3. As a user, we initiate a command via Ansible Controller hosts, with the help of plugins & modules, it perform required instructions on various Ansible hosts/inventories.

Q4. User -> ACS (Ansible, Playbook, Inventories/configuration) -> ARS

Q5. i.) Ansible, ii.) Playbook, iii.) Inventories iv.) configuration

Q6.) file based, command line based in the form of IP/hostname/FQDN

Q7.) copy, apt, file, group, user, git, apt, service, package,

Badelal
Badelal
1 month ago
  • What is Ansible?

Ansible is a tool which helps to manage for all types of management of the servers, or application using this remotely on Linux or windows environment, with mange of multiple commands which helps to run as remotely and fast.

  • Why We need Ansible? Its Benefits?

Ansible is essay to manage various task very fast and simple ways with very much same for all the servers no difference in the task or work whichever is done with the same command.

  • How Ansible Works?

Ansible work remote way on Linux it uses SSH and in windows its usages winrm utility with client list because the required utilities are already comes with OS.

  • Ansible Architecture?

Ansible is an open-source automation tool that simplifies the works and configuration management, application deployment

  • Components of Ansible
  • What are the types of Inventory we can pass?

Single, Group and group combination.

  • Top 10 Ansible Modules?

file
directory
user
group
service
apt
yum
cmd
script
bash
package

Srikanth Aratla
Srikanth Aratla
1 month ago

What is Ansible?
Ansible is Configuration Management tool

Why We need Ansible? Its Benefits?
Useful in updating multiple hosts at a time. Benefits are, it is agentless, idempotent and secure.

How Ansible Works?
Ansible works with SSH protocol between Linux to Linux servers while between Linux to Windows, it works with WinRM protocol.

Ansible Architecture?
Ansible’s architecture basically has two major servers. One is Ansible Controller Server (ACS) and the other is Ansible Remote Servers (ARS) 

Components of Ansible
Executables
Inventory
Modules
Plugins
Collections
Global Configuration File (ansible.cfg)

What are the types of Inventory we can pass?
Remote Host IPs
Remote Hostnames
Static
Dynamic

Top 10 Ansible Modules?
yum
uri
systemd
sysctl
terraform
file
user
group
copy
synchronize
timezone

Khushi
Khushi
1 month ago

1)Ansible is config management tool that allows us to Deploy application, configure sytem, install softwares etc it’s agentless

2)Benefits:
Agentless – uses SSH which is already present on most systems
Idempotent – Running a playbook multiple times won’t repeat work
Inventory management – Easily manages all types of server

3)Ansible works by connecting to remote systems over ssh, then executing tasks using modules to manage systems and application

4)*control node– our machine
*Managed node – Traget machine
*inentory , modules, plugins,olaybooks

5)static , dynamic, Inline
,
6)yum, apt, service ,file ,copy ,user, ping ,shell, authorized_key ,group

Rohit Pahwa
Rohit Pahwa
1 month ago
  • What is Ansible?

It is configuration management tool, which operates by connecting via SSH in linux and WINRM in windows.

  • Why We need Ansible? Its Benefits?

Agentless, scalable, extensible and easy to use in cross-platforms

  • How Ansible Works?

via control node ACS from where it can be deployed and runs on ARS remote or managed nodes.

  • Ansible Architecture?

uses control node to execute tasks on managed nodes.

  • Components of Ansible

inventory, modules, plugins, playbooks, roles

  • What are the types of Inventory we can pass?

static inventory ini format

  • Top 10 Ansible Modules?

ping
shell
command
yum
apt
git
user
service
file
copy

Gopinath
Gopinath
1 month ago
  • What is Ansible? Ansible is a configuration management tool which are used for managing deployment or update of software, services, user and OS configurations etc.,
  • Why We need Ansible? Its Benefits? It is very much useful to run multiple tasks in single remote machines or multiple remote machines. It saves time,cost,efficient and also it is idempotent.
  • How Ansible Works? Ansible is agent less configuration management tool which needs ACS machine where we install ansible and it deploys to remote machines which are mentioned on the inventories.

Ansible Architecture?
Human –> ACS –> ARS
Human –> tower –> ARS

  • Components of Ansible

Ansible , Playbook , inventory , Ansible configuration

  • What are the types of Inventory we can pass? inventory with all hosts , group in inventory, group of group in inventories.
  • Top 10 Ansible Modules? cmd, file, copy, apt, package, service, python, shell, bash etc.,
Abdul Rahim Khan
Abdul Rahim Khan
1 month ago

1.Ansible connects to each server using SSH.
2.Ansible reads the inventory (inventory.ini or dynamic source) to know which servers to target.
3.It pushes a temporary python script to the remote server.

Abdul Rahim Khan
Abdul Rahim Khan
1 month ago

In ansible Control Node talks to Managed Nodes (Targets) using SSH.Agentless: No software/agent is needed on the target servers.

Abdul Rahim Khan
Abdul Rahim Khan
1 month ago

The components of ansible like 1. Inventory 2. Modules 3. Plugins 4. Playbooks 5. Tasks 6. Roles 7.Variables 8. Collections etc

24
0
Would love your thoughts, please comment.x