Giter VIP home page Giter VIP logo

setup's Issues

Failing Erlang install

TASK [dev : Install Erlang] ********************************************************************************************
fatal: [wsl]: FAILED! => {"changed": true, "cmd": "asdf install erlang ref:master", "delta": "0:00:03.299104", "end": "2019-07-19 18:22:05.702832", "msg": "non-zero return code", "rc": 1, "start": "2019-07-19 18:22:02.403728", "stderr": "", "stderr_lines": [], "stdout": "Checking out Erlang/OTP git repository from https://github.com/erlang/otp.git...\nError cloning local git repository", "stdout_lines": ["Checking out Erlang/OTP git repository from https://github.com/erlang/otp.git...", "Error cloning local git repository"]}

First run: Error: unknown command \"krew\" for \"kubectl\

TASK [ops : Get installed krew plugins] ********************************************************************************************************************
fatal: [wsl]: FAILED! => {"changed": true, "cmd": ["kubectl", "krew", "list"], "delta": "0:00:00.065498", "end": "2021-05-16 18:41:12.734422", "msg": "non-zero return code", "rc": 1, "start": "2021-05-16 18:41:12.668924", "stderr": "Error: unknown command \"krew\" for \"kubectl\"\nRun 'kubectl --help' for usage.", "stderr_lines": ["Error: unknown command \"krew\" for \"kubectl\"", "Run 'kubectl --help' for usage."], "stdout": "", "stdout_lines": []}

Need to make sure I'm reloading

ASDF not sourced when running a first time install


TASK [dev : Clone asdf] ************************************************************************************************changed: [wsl]

TASK [dev : Add asdf to shell] *****************************************************************************************changed: [wsl]

TASK [dev : Get installed asdf plugins] ********************************************************************************fatal: [wsl]: FAILED! => {"changed": false, "cmd": "asdf plugin-list", "msg": "[Errno 2] No such file or directory", "rc": 2}
...ignoring                                                                                                             
TASK [dev : Add asdf plugins] ******************************************************************************************fatal: [wsl]: FAILED! => {"msg": "The conditional check 'item|string not in asdf_plugins.stdout_lines' failed. The error was: error while evaluating conditional (item|string not in asdf_plugins.stdout_lines): Unable to look up a name or access an attribute in template string ({% if item|string not in asdf_plugins.stdout_lines %} True {% else %} False {% endif %}).\nMake sure your variable name does not contain invalid characters like '-': argument of type 'StrictUndefined' is not iterable\n\nThe error appears to have been in '/home/jason/setup/roles/dev/tasks/asdf.yml': line 19, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Add asdf plugins\n  ^ here\n"}

PLAY RECAP *************************************************************************************************************wsl                        : ok=37   changed=26  

This fails until you start a new shell and run ansible with that sourced. Need to figure out a graceful way to do this.

Thoughts on V2

  • Lightweight instructions for what to do from a fresh machine
    • Quickest path to Linux environment
    • Quickest path to SSH key in Linux environment?
  • How much automation can be done windows side to prepare Linux side?
  • Integration with 1password
  • Quickest path to Dockerized tooling
    • What tools do I even want installed "locally"
    • Do I use Docker "locally" or provide a remote option?
  • How much dev "in" Linux?
  • How much usage of bedrock?
  • Is Ansible still legit?

Second run: Permission denied: b'asdf'

TASK [dev : Get installed asdf plugins] ********************************************************************************
fatal: [wsl]: FAILED! => {"changed": false, "cmd": "asdf plugin-list", "msg": "[Errno 13] Permission denied: b'asdf'", "rc": 13}
...ignoring

TASK [dev : Add asdf plugins] ******************************************************************************************
fatal: [wsl]: FAILED! => {"msg": "The conditional check 'item|string not in asdf_plugins.stdout_lines' failed. The error was: error while evaluating conditional (item|string not in asdf_plugins.stdout_lines): 'dict object' has no attribute 'stdout_lines'\n\nThe error appears to be in '/home/jasonwc/setup/roles/dev/tasks/asdf.yml': line 22, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Add asdf plugins\n  ^ here\n"}

Guessing this is a similar shell issue.

Mac setup?

I'd like to use this to setup my M1 Air.

  • What does Multiplatform look like?
  • Its painful to get to ansible on Mac. Is it the right tool?
  • Since we're setting up a "native" thing, should I install a bunch of applications via cask?
  • How much (if at all) should I adopt medic since dogfooding is good.

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.