Open main menu

CDOT Wiki β

Changes

OPS435 Python3 Lab 8

30 bytes removed, 01:07, 10 November 2019
Final Task - Apply some of your instructions in fabfile.py to your VM on myvmlab
And imagine that you might have 10, 50, 100 servers to do this on - could you do it without the automation?
= Final Task - Apply some of your instructions in fabfile.py to your VM on myvmlab =
: Since your account on your vm on myvmlab is a regular user with sudo privilege. You need to make the following changes to your fabfile.py before applying it to your vm on myvmlab:
:* Change env.user from 'root' to your account on your vm in myvmlab.
:* Change all the commands that need super user privilege from calling the run() function to instead calling the sudo() function.
: Test your updated fabfile.py until you get the same result as when you apply it to your own worker VM.
= LAB 8 SIGN-OFF (SHOW INSTRUCTOR) =
:'''Have Ready to Show Your Instructor:'''
1,760
edits