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.

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

When should you test playbooks and roles?

3


What are playbooks in ansible?

2


List some advantages of using ansible.

3


Talk about ansible architecture.

3


How would you install ansible on a centos system?

3


How can one interpolate variables or dynamic variable names?

3


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

3


Why are you attracted to science and science fiction?

2


How to interpolate variables or dynamic variable names?

3


Is there a web interface / rest api / etc?

3


How ansible works?

3


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

3


What are the ansible modules?

3


What is ansible task?

3


How can I display all the inventory vars defined for my host?

3