Coder Social home page Coder Social logo

discourse-dreamcompute's People

Watchers

 avatar  avatar

discourse-dreamcompute's Issues

Install python 2 task fails on first run

Tried running it the first time and it failed because the new vm was not ready yet. The task should wait for the machine to be ssh-ready before trying to install python2. This is the error I had:

task path: /home/reed/workspace/discourse-dreamcompute/roles/python2/tasks/main.yml:2
<208.113.166.74> ESTABLISH SSH CONNECTION FOR USER: ubuntu
<208.113.166.74> SSH: EXEC ssh -C -q -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=ubuntu -o ConnectTimeout=10 -o ControlPath=/home/reed/.ansible/cp/ansible-ssh-%h-%p-%r -tt 208.113.166.74 'sudo -H -S -n -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-kzovkieaiptknmmmqdykwemzyhwsdjkt; apt update && apt install -y python'"'"''
fatal: [208.113.166.74]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh.", "unreachable": true}

The name of the network is hardcoded

My private network name is not 'private-network', so the create server tasks fail. Not sure if ansible has a way to guess if there is only one private one, or we should just make the network name a variable to pull from vars file.

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.