Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Explain different modules in ansible.



Explain different modules in ansible...

Answer / Deepanshu Sharma

Ansible modules are reusable, standalone scripts that perform a specific task. They can be used individually or combined together to create playbooks. Here are some common Ansible modules:n1. User Module: Manages system users and groups.n2. File Module: Manages files on the target host.n3. Package Module: Installs, updates, or removes packages based on the package manager of the target host.n4. Service Module: Manages services/daemons on Unix-based systems.n5. Yum Module: Specific for RedHat-based systems to manage packages.n6. Apt Module: Specific for Debian-based systems to manage packages.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ansible Interview Questions

What is ci/cd?

1 Answers  


Does ansible support aws?

1 Answers  


What is ansible and what makes it stand out from the rest of the configuration management tools?

1 Answers  


Explain what are playbooks in ansible? Explain with some examples.

1 Answers  


How to interpolate variables or dynamic variable names?

1 Answers  


What are ad-hoc commands? Give an example.

1 Answers  


Suppose you’re using ansible to configure the production environment and your playbook uses an encrypted file. Encrypted files prompt the user to enter passwords. But since ansible is used for automation, can this process be automated?

1 Answers  


What are the different components of ansible?

1 Answers  


Can you write a simple playbook to install nginx on a host machine?

1 Answers  


How do I see all the inventory vars defined for my host?

1 Answers  


Explain the concept behind infrastructure as code (iac).

1 Answers  


What are playbooks in ansible?

1 Answers  


Categories