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 |
Give a comparison between ansible and puppet.
Write an ansible playbook to automate the starting of ec2 instance.
How can one generate encrypted passwords for the user module?
How would you access a variable of the first host in a group?
Can you copy files recursively onto a target host? If yes, how?
How do I set the path or any other environment variable for a task?
What is ci/cd?
How to generate crypto passwords for the user module?
What are ansible vaults and why are they used?
What is ansible and what makes it stand out from the rest of the configuration management tools?
How can I display all the inventory vars defined for my host?
How do I see all the inventory vars defined for my host?