How to make every machine password less SSH in Ansible

0 votes
Hi Team,

In Ansible I need to make every machine passwordless SSH.

For that, I need to run ssh-keygen and ssh-copy-id in all the machines. What if I have 1000 machines? Is there any solution for SSH password less for 1000 machines?
Oct 30, 2020 in Ansible by anonymous
• 19,580 points
73 views

1 answer to this question.

0 votes
Do have access to all 1000 machines? There will permissions for accessing those 1000 machines.

You need to pass the key to the people who are managing it.
answered Oct 30, 2020 by Anil

Related Questions In Ansible

0 votes
1 answer

How to change vault password in Ansible?

Hi@akhtar, You can use rekey keyword in your ...READ MORE

answered Aug 11, 2020 in Ansible by MD
• 95,010 points
323 views
0 votes
1 answer

How to do SSH in EC2 instance using Ansible Playbook?

Hi@akhtar, To configure your inventory dynamically you need ...READ MORE

answered Sep 21, 2020 in Ansible by MD
• 95,010 points
102 views
0 votes
1 answer

How to regex replace nested values in Ansible

I'm not aware of any built-in method ...READ MORE

answered Jun 16, 2018 in Ansible by shubham
• 7,320 points
2,592 views
0 votes
1 answer

How to configure fact caching in Ansible?

There are two cache plugins: redis and jsonfile. To ...READ MORE

answered Jan 24, 2019 in Ansible by Kennedy
1,884 views
0 votes
1 answer

How to set vault password on ansible tower?

On Ansible Tower, go to Settings > ...READ MORE

answered Jan 29, 2019 in Ansible by Yesha
2,146 views
0 votes
1 answer

How to ignore failed commands in Ansible?

Usually, if even one command fails to ...READ MORE

answered Feb 7, 2019 in Ansible by Patt
10,997 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
895 views
+2 votes
1 answer