Skip to content

dzolnierz/salt-ssh-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

salt-ssh-setup

Setup salt-ssh to run as a non-root user.

Installation

NOTE: Assume you have already installed the salt-ssh package. If not, please go to https://docs.saltproject.io/salt/install-guide/en/latest/topics/install-by-operating-system/index.html.

git clone [email protected]:dzolnierz/salt-ssh-setup.git
cd salt-ssh-setup
# See: https://docs.saltproject.io/en/latest/topics/ssh/index.html#advanced-options-with-salt-ssh
cp etc/salt/master.example etc/salt/master

And add your minion(s) to the roster file.

touch etc/salt/roster

Usage

If configured correctly target minion(s) should respond to the test.ping module:

source salt.$(basename $SHELL)
salt-ssh \* test.ping

Read more

About

Setup template for salt-ssh

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published