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@
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).

Dec 19, 2018 in Ansible by Ali
• 11,320 points

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>
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 19, 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,300 points
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,280 points
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
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
+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 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 9, 2019 in Ansible by Vijay