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
• 10,450 points
21 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 19, 2018 by Alan

Related Questions In Ansible

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,240 points
51 views
0 votes
1 answer

Install Ansible on centOS

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

answered Jan 8 in Ansible by Kiara
31 views
0 votes
1 answer
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
65 views
+13 votes
2 answers
0 votes
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 in Ansible by Vijay
46 views