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...


How can you handle different machines needing different user accounts or ports to log in with?



How can you handle different machines needing different user accounts or ports to log in with?..

Answer / Rakesh Garg

In Ansible, you can use inventory files to define the specific user accounts and ports for each machine. You can also use dynamic inventories that generate your inventory based on other data sources like AWS EC2 instances or cloud forms. Additionally, Ansible supports using different SSH keys for different hosts.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ansible Interview Questions

Give a comparison between ansible and puppet.

1 Answers  


Write an ansible playbook to automate the starting of ec2 instance.

1 Answers  


How can one generate encrypted passwords for the user module?

1 Answers  


How would you access a variable of the first host in a group?

1 Answers  


Can you copy files recursively onto a target host? If yes, how?

1 Answers  


How do I set the path or any other environment variable for a task?

1 Answers  


What is ci/cd?

1 Answers  


How to generate crypto passwords for the user module?

1 Answers  


What are ansible vaults and why are they used?

1 Answers  


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

1 Answers  


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

1 Answers  


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

1 Answers  


Categories