GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - haotrr/ppsh: PPSH is a Ansible-like Tool and Library and aims to make things easier.

BranchesTags
Open more actions menu

Latest commit

 

History

7 Commits
7 Commits

Folders and files

NameName
Last commit message
Last commit date
app
app
 
 
iputil
iputil
 
 
.gitingore
.gitingore
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
Todo.txt
Todo.txt
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
host.go
host.go
 
 
iprange.go
iprange.go
 
 
playbook.go
playbook.go
 
 
ssh.go
ssh.go
 
 
test.yml
test.yml
 
 

Repository files navigation

ppsh -- Pull/Push via SSH

PPSH is a Ansible-like Tool and Library written in Go. Ansible is a radically simple IT automation system, and it is Awesome, but it is written in Python and needs Python installed and sometime annoyed configurations, so here comes PPSH. You just need the precompile bin file and a well defined YAML file (see more examples in app/file) to run it, and for simple tasks you even just run it with the well defined arguments. PPSH is also a library and can be easily integrated into your application. More detail will come soon...

Build

make

App Usage

$ ./ppsh help
NAME:
   ppsh - Pull or Push via SSH in your cluster hosts.

USAGE:
   ppsh [global options] command [command options] [arguments...]

VERSION:
   0.0.1

COMMANDS:
     help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --hosts HOST[;HOST], -H HOST[;HOST]                       host list, in the form of HOST[;HOST]
   --cmds CMD[;CMD], -c CMD[;CMD]                            command list, in the form of CMD[;CMD]
   --ciphers CIPHER[;CIPHER], -C CIPHER[;CIPHER]             cipher list, in the form of CIPHER[;CIPHER]
   --ip-range IP-IP[;{IP-IP|IP/XX}, -I IP-IP[;{IP-IP|IP/XX}  ip range, in the form of IP-IP[;{IP-IP|IP/XX}
   --user USER, -u USER                                      ssh login USER (default: "root")
   --password PASSWORD, -w PASSWORD                          ssh login PASSWORD
   --cert-key FILE, -k FILE                                  ssh private key FILE
   --playbook FILE, -p FILE                                  load playbook from path FILE
   --taskbook FILE, -t FILE                                  load taskbook from path FILE
   --format PLAIN|JSON, -f PLAIN|JSON                        output as PLAIN|JSON (default: "plain")
   --platform LINUX|OTHER, -S LINUX|OTHER                    platform as LINUX|OTHER (default: "linux")
   --output STDOUT|FILE, -o STDOUT|FILE                      output to STDOUT|FILE (default: "stdout")
   --timeout TIMEOUT, -s TIMEOUT                             TIMEOUT in second (default: 30)
   --port PORT, -P PORT                                      ssh PORT (default: 22)
   --max-run-count COUNT, -n COUNT                           max runing COUNT (default: 20)
   --help, -h                                                show help
   --version, -v                                             print the version

See more examples in app/file/test.txt.

As Library

See more details in godoc.

Roadmap

  • Upload files
  • Download files

License

MIT License, see detail in LICENSE.

About

PPSH is a Ansible-like Tool and Library and aims to make things easier.

Topics

ansiblectldeploy-tooldeploymentgolanglibraryssh

Resources

Readme
MIT license
Activity

Stars

8 stars

Watchers

1 watching

Forks

4 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.