Open main menu

CDOT Wiki β

Changes

OPS435 Python3 Lab 8

1 byte added, 17:58, 4 July 2020
Creat privileged tasks: install and remove rpm package on remote machines
env.hosts =['myvmlab.senecacollege.ca']
</source>
: You can also store the user's password in this file so that it will respond to the "sudo password" prompt for sudo() call. It is not safe to do so as there you can configure the sudo module on the remote machine not to asked ask for sudo password.
: Now you can run the fab command without the "--host" and "--port" option.
: Run the following two fab commands, note the results and compare their difference:<source lang='bash'>
1,760
edits