Unable to install Ansible on centOS

0 votes

I'm trying to install ansible on centOS and I'm getting this error

while trying to run ssh-copy-id -i user@10.170.0.3
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).

Dec 19, 2018 in Ansible by Ali
• 11,360 points
709 views

1 answer to this question.

0 votes

Seems like you're stuck at creating ansible connection between two instances, if your using GCP then follow these stes:

gcloud auth login
gcloud compute ssh <name of the instance>
cd
ls -all .ssh
eval `ssh-agent -s`
ssh-add .ssh/google_compute_engine
ssh <name of the instance>

Try the steps and let us know the result.

answered Dec 20, 2018 by Alan

Related Questions In Ansible

0 votes
1 answer

How to install mongodb on centos 7 using ansible

Hi@Shashi, I think for MongoDB you need to ...READ MORE

answered Sep 16, 2020 in Ansible by MD
• 95,460 points
3,923 views
0 votes
1 answer

unable to build grails war on a vagrant machine using ansible

Try and run the command using shell ...READ MORE

answered Jul 2, 2018 in Ansible by ajs3033
• 7,300 points
887 views
0 votes
1 answer

Install Ansible on centOS

Hey @Ali, Installing Ansible is a piece ...READ MORE

answered Jan 8, 2019 in Ansible by Kiara
716 views
0 votes
1 answer
0 votes
1 answer

How do I set variable if a specific package version is installed in CFEngine?

Here is what you can do.Just use packagesmatching to ...READ MORE

answered Jul 12, 2018 in Other DevOps Questions by Atul
• 10,240 points
1,228 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 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,079 views
+1 vote
3 answers
0 votes
1 answer

Is it possible to run commands on ansible host?

If you just trying to run a ...READ MORE

answered Jan 10, 2019 in Ansible by Vijay
1,443 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP