Changes

Jump to: navigation, search

OPS435 Python3 Lab 8

7 bytes added, 11:42, 3 July 2020
LAB OBJECTIVES
= LAB OBJECTIVES =
:1. Explore the Fabric package (written in Python) library and study its command line tool "fab".:2. Create remote Fabric scripts utilize Fabric's API to define tasks using Python module that interface with can be executed by the Fabric's API''fab''' program.:3. Use the '''fab CLI''' (command line interface) to execute fabric script to perform regular/administrative tasks on remote host with the '''Fabric''' frameworkLinux machines.
== Overview ==
: Fabric is a Python library and command-line tool for streamling streamlining the use of SSH for application deployment or system administration tasks. It has two major components:
:# a command-line interface program called "fab" that lets you execute arbitrary Python functions
:# a set of Python APIs that you can use and call in your Python functions to make executing shell commands over SSH much easier.
: We are going use the "Fabric API and its '''fab" and API of Fabric ''' command to write define and execute Python functions (or tasks), to automate interactions with remote Linux machines in this lab.
== REFERENCE ==
1,760
edits

Navigation menu