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 |
Is there a web interface / rest api / etc?
How should one configure a jump host to access servers that I have no direct access to?
What is the best way to make content reusable/redistributable?
Is it unsafe to bulk-set task arguments from a variable?
What is ansible role and how are they different from the playbook?
What is the use of ansible?
Does ansible support aws?
How can you speed up management inside in ec2?
How can looping be done over a list of hosts in a group, inside of a template?
How does ansible work?
What are the variables in ansible?
List some advantages of using ansible.