Changes

Jump to: navigation, search

OPS435 Python3 Lab 8

47 bytes added, 09:58, 10 November 2019
INVESTIGATION 2: Fabric practice
: In the command above we're using the fab program to read the file fabfile.py and execute the getHostname function on the worker 192.168.56.11. Note that the IP address of your first worker will likely be different.
: If you did all the setup right and you try to execute the command above - you will get a password prompt. That shouldn't happen, Read the point is for everything to be automated, prompt carefully and thatsee who's why password it prompts you've set up SSH keys. To If it is not the same as your [seneca_id], try to fix it, add by adding the following line to before the first '''def''' line your fab file:
:<source lang="python">env.user = '[seneca_id]'</source>
1,760
edits

Navigation menu