sshpass-installed

Example:

# Install the 'sshpass' package using the system package manager.
- sshpass-installed

Description

Install the 'sshpass' utility.

'sshpass' is a small application that helps using ssh within scripts. There are some security implications to using it, so make sure to check out the webpage.

If this is used on CentOS, the 'epel-release' repository package will also be installed and enabled.

Variables

Name Type Default Description

pkg_mgr

string auto

the package manager to use

Examples

Example 1

Install the 'sshpass' package using the system package manager.

Code
- sshpass-installed

Example 2

Install the 'sshpass' package using the 'nix' package manager.

Code
- sshpass-installed:
    pkg_mgr: nix

Command-line

frecklecute sshpass-installed --help

Usage: frecklecute sshpass-installed [OPTIONS]

  Install the '[sshpass](https://www.cyberciti.biz/faq/noninteractive-shell-
  script-ssh-password-provider/)' utility.

  'sshpass' is a small application that helps using ssh within scripts.
  There are some security implications to using it, so make sure to check
  out the webpage.

  If this is used on CentOS, the 'epel-release' repository package will also
  be installed and enabled.

Options:
  --pkg-mgr PKG-MGR  the package manager to use  [default: auto]
  --help             Show this message and exit.