Git Product home page Git Product logo

ansible-role-ruby's People

Contributors

kadaan avatar

Watchers

 avatar  avatar  avatar

Forkers

engboilers

ansible-role-ruby's Issues

file not found error when running rbenv

This ansible task fails, although the preceding Homebrew step worked, and manually running rbenv install -s 2.3.1 also works.

Any idea what causes the No such file or directory error?

task path: /Users/<me>/projects/<project>/JenkinsAgent/roles/Engboilers.ruby/tasks/main.yml:14
Using module file /Library/Python/2.7/site-packages/ansible/modules/core/commands/command.py
<host IP> ESTABLISH CONNECTION FOR USER: administrator on PORT 22 TO <Host IP>
<host IP> EXEC /bin/sh -c 'echo ~ && sleep 0'
<host IP> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /Users/administrator/.ansible/tmp/ansible-tmp-1491953097.99-184838388518711 `" && echo ansible-tmp-1491953097.99-184838388518711="` echo /Users/administrator/.ansible/tmp/ansible-tmp-1491953097.99-184838388518711 `" ) && sleep 0'
<host IP> PUT /var/folders/j5/_fjf3mss30v7cjsmxv54gbw40000gn/T/tmp8ff1Fn TO /Users/administrator/.ansible/tmp/ansible-tmp-1491953097.99-184838388518711/command.py
<host IP> EXEC /bin/sh -c 'chmod u+x /Users/administrator/.ansible/tmp/ansible-tmp-1491953097.99-184838388518711/ /Users/administrator/.ansible/tmp/ansible-tmp-1491953097.99-184838388518711/command.py && sleep 0'
<host IP> EXEC /bin/sh -c '/usr/bin/python /Users/administrator/.ansible/tmp/ansible-tmp-1491953097.99-184838388518711/command.py; rm -rf "/Users/administrator/.ansible/tmp/ansible-tmp-1491953097.99-184838388518711/" > /dev/null 2>&1 && sleep 0'
failed: [host IP] (item=2.3.1) => {
    "cmd": "rbenv install -s 2.3.1", 
    "failed": true, 
    "invocation": {
        "module_args": {
            "_raw_params": "rbenv install -s 2.3.1", 
            "_uses_shell": false, 
            "chdir": null, 
            "creates": null, 
            "executable": null, 
            "removes": null, 
            "warn": true
        }, 
        "module_name": "command"
    }, 
    "item": "2.3.1", 
    "msg": "[Errno 2] No such file or directory", 
    "rc": 2
}

Thanks for your help.

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.