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,590 points
107 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,140 points
664 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,140 points
351 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,812 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
2,092 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,330 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
12,151 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
1,038 views
+2 votes
1 answer