GithubHelp home page GithubHelp logo

ansible-sshkeys's Introduction

(ಠ_ಠ) About

Views Web IRC Twitter LinkedIn

  • 🧙 Focusing on DevOps, SRE, perf/scale R&D, large-scale BM systems/network automation
  • 💙 Lifelong lover of Open Source, Skateboarding and Snowboarding.

GitHub statsTop Langs

ansible-sshkeys's People

Contributors

sadsfae avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

ansible-sshkeys's Issues

no /usr/bin/python in RHEL8 - module fails

When I run the playbook on a RHEL8.1 server Iin the Alias lab, I get this error below, but I never used to get it with RHEL8.0. There is no python installed, either 2 or 3. This breaks my automation and makes me do everything by hand. Is there some way for ansible-playbook to avoid running python to do this and just give me password-less ssh access using the raw module? Once I have that, I can do whatever commands are needed to further initialize the system from there.

Suggestion: have the user specify the public key file to install, and just make ~/.ssh/authorized_keys equal to that using the raw module, and do nothing else. Since we got the error below, ansible-playbook got into the system! So it would work.

MSG:

The following modules failed to execute: setup

fatal: [e23-h17-740xd.alias.example]: FAILED! => {
    "ansible_facts": {},
    "changed": false,
    "failed_modules": {
        "setup": {
            "failed": true,
            "module_stderr": "Shared connection to e23-h17-740xd.alias.example.com closed.\r\n",
            "module_stdout": "/bin/sh: /usr/bin/python: No such file or directory\r\n",
            "msg": "The module failed to execute correctly, you probably need to set the interpreter.\nSee stdout/stderr for the exact error",
            "rc": 127
        }
    }

[root@e23-h15-740xd ~]# which python
/usr/bin/which: no python in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin)

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.