GithubHelp home page GithubHelp logo

Step00 Connection Issues about ansible-tuto HOT 6 CLOSED

leucos avatar leucos commented on August 15, 2024
Step00 Connection Issues

from ansible-tuto.

Comments (6)

leucos avatar leucos commented on August 15, 2024

Thank you for the issue.

When you say ansible-playbook -c paramiko -i step-00/hosts step-00/setup.yml -- ask-pass --sudo, have to remove those space chars between -- and ask-pass.

Can you confirm that you have/don't have these spaces ?

Also, I don't think you have the wrong addresses, since you get 'FAILED: Authentication failed.', and not 'No route to host'.

May be you can vagrant ssh hostX and post the output of ip add ?

Thanks !

from ansible-tuto.

webkenny avatar webkenny commented on August 15, 2024

Yes, sorry. That's the silly markdown format on here playing tricks on us. There is, indeed, no space between the parameter and its flag. :)

Output of vagrant ssh host
Minisaurus:ansible-tuto ksilanskas$ vagrant ssh host01
The machine with the name 'host01' was not found configured for
this Vagrant environment.

To validate the host should be running, directly following that command I run "vagrant up" and get:

Minisaurus:ansible-tuto ksilanskas$ vagrant up
Bringing machine 'host0' up with 'virtualbox' provider...
Bringing machine 'host1' up with 'virtualbox' provider...
Bringing machine 'host2' up with 'virtualbox' provider...
==> host0: VirtualBox VM is already running.
==> host1: VirtualBox VM is already running.
==> host2: VirtualBox VM is already running.

I destroyed the machines and brought them up again as well just to double-check. Same result.

from ansible-tuto.

leucos avatar leucos commented on August 15, 2024

You should use vagrant ssh host0 and not ... host01 (unless it's another markdown prank ;) )

from ansible-tuto.

leucos avatar leucos commented on August 15, 2024

BTW I assume you type vagrant as the ssh password, right ?

from ansible-tuto.

webkenny avatar webkenny commented on August 15, 2024

Wow. I am the silliest dev in all the land. I read it was vagrant with underscores and thus was typing it that way. Ha! Looks like I should fork for you and contribute that back to save dummies like me in the future. :) Thanks so much for your help and prompt responses.

Edit: Markdown is killing me right now. I read it like this:

_vagrant_

from ansible-tuto.

leucos avatar leucos commented on August 15, 2024

Oh yes, Markdown styling striked again ! Mmm, you're right, may be this deserves some rewrite. Thanks for passing by, I'd gladly welcome your PR !

from ansible-tuto.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.