Skip to content

kuritaka/fabric2-python3-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fabric2 Python3 Examples

What is this

This is Fabric2 Examples with Python3

I think Fabric or Fabric3 is better for those who manage many servers.

Please check my site.

https://github.com/kuritaka/fabric3-python3-examples.git

Fabric2

Fabric is a high level Python (2.7, 3.4+) library designed to execute shell commands remotely over SSH

http://www.fabfile.org/

How to prepare

python3 -m pip -V    <- check version
python3 -m pip install --upgrade pip   <- pip upgrade
python3 -m pip -V    <- check version

pip search fabric
pip install fabric

fab --version
git clone https://github.com/kuritaka/fabric2-python3-examples.git  fabric2

How to use fabric

one-line task examples

fab -H x.x.x.x --prompt-for-login-password -- hostname
fab -H x.x.x.x -- hostname

task examples

fab -l    check lists

fab -H x.x.x  check_centos8

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published