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@

Dec 19, 2018 in Ansible by Ali
• 10,450 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

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
0 votes
1 answer

Install Ansible on centOS

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

answered Jan 8 in Ansible by Kiara
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer



answered Jul 12, 2018 in Other DevOps Questions by Atul
• 10,240 points
+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