Open main menu

CDOT Wiki β

Changes

OPS435 Python3 Lab 8

1 byte removed, 13:41, 20 March 2020
m
Getting the hostname on the remote worker
</source>
: To perform the task of getHostname on the worker machine 192.168.122.169, 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'
[192.168.122.169] run: hostname
14
edits