ansible-ssh

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 18, 2023 License: AGPL-3.0 Imports: 7 Imported by: 0

README

ansible-ssh

What?

ansible-ssh is a wrapper around the standard ssh client (usually, openssh client) that will try to read ansible inventory within the current directory first and connect to the matched server. If none matched - it will fallback to the standard ssh

Why?

Because ansible-console is not interactive and there are plenty of occasions when you need an interactive shell over the internet and you need it now.

How?

  1. Copy the config.yml.sample into your $XDG_CONFIG_HOME (usually, ~/.config) and rename it to ansible-ssh.yml
  2. Run ansible-ssh in a dir with an ansible inventory

You can even add an alias to use ansible-ssh as wrapper around the standard ssh command:

# $HOME/.bashrc
alias ssh="ansible-ssh"

Where to get?

Binaries and distro-specific packages

Releases page

Build yourself

just build or go build .

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL