Changes

Jump to: navigation, search

OPS435 Python3 Lab 8

No change in size, 15:47, 3 July 2020
INVESTIGATION 2: Running fab in script mode
: Note that there is no password prompting if you complete part 3 successfully, otherwise, the SSH server daemon on your VM will prompt you for a password. The output from the fab's ad-hoc mode is not much different from the SSH command with shell command attached at the end, however, please note that the additional information on the output from the fab command can be very useful for record keeping purpose - what has been done and whether the commands had been carried out successfully or not.
= INVESTIGATION 23: Running fab in script mode =
: We will start with some basics. Fabric runs python programs on the controller and the workers. You create an "instruction" file on your controller, and execute it on the controller using the '''fab''' program. When you do that - you specify which workers you want your instructions to be executed on.
1,760
edits

Navigation menu