Giter Club home page Giter Club logo

Comments (7)

selivan avatar selivan commented on July 25, 2024 2

OK, so 892c48c should fix this.

Thank you for the feedback.

from ansible-ssh.

selivan avatar selivan commented on July 25, 2024

Updated: set default value for ssh_executable. Could you check if it works now?

from ansible-ssh.

GamerGun avatar GamerGun commented on July 25, 2024

Hmm

ssh_args:
ssh_executable:
ansible_host: xxx
ansible_user: admin
ansible_port:
ansible_ssh_private_key_file:
ansible_ssh_common_args:
ansible_ssh_extra_args:
result command: admin@xxx
./ansible-ssh: line 89: exec: admin@xxx: not found

When running manually;

✗ ssh_executable=$(ansible-config dump | grep '^ANSIBLE_SSH_EXECUTABLE' | cut -d'=' -f2-)
✗ [ -z "echo $(echo $x | tr -d ' ')" ] && ssh_executable=ssh
✗ env | grep ssh_executable
✗ echo $ssh_executable

from ansible-ssh.

selivan avatar selivan commented on July 25, 2024

Ops, fixed typo, check again please.

from ansible-ssh.

GamerGun avatar GamerGun commented on July 25, 2024

Not sure what i'm missing :/

ssh_args:
ssh_executable:
✗ ssh_executable=$(ansible-config dump | grep '^ANSIBLE_SSH_EXECUTABLE' | cut -d'=' -f2-)
✗ [ -z "echo $(echo $ssh_executable | tr -d ' ')" ] && ssh_executable=ssh
✗ echo $ssh_executable

from ansible-ssh.

selivan avatar selivan commented on July 25, 2024

That's weird. Could you please check this one?

https://gist.githubusercontent.com/selivan/2621ce2289d5f460f0b686703ca37b4a/raw/79c0bf819ffc737aa99b2aa7a3b8e57627865c35/ansible-ssh

from ansible-ssh.

GamerGun avatar GamerGun commented on July 25, 2024

:)

ssh_args:
Xssh_executableX: X
ansible_host: xxx
ansible_user: admin
ansible_port:
ansible_host: xxx
ansible_ssh_private_key_file:
ansible_ssh_args:
ansible_ssh_common_args:
ansible_ssh_extra_args:

ssh command: ssh admin@xxx

Linux avisi 4.9.0-8-amd64 #1 SMP Debian 4.9.144-3.1 (2019-02-19) x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed May 12 11:20:07 2021 from xxx

from ansible-ssh.

Related Issues (6)

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.