Changes

Jump to: navigation, search

OPS435 Python3 Lab 8

47 bytes added, 19:31, 26 March 2020
Getting the hostname on the remote worker
getHostname
</source>
: To perform the task of getHostname on the worker machine 192.168.122.169(replace with the actual IP of your worker VM), we run it on the controller machine like this:<source lang="bash">
[rchan@centos7 lab8]$ fab -f fabfile.py -H 192.168.122.169 getHostname
[192.168.122.169] Executing task 'getHostname'
1,760
edits

Navigation menu