...
|
...
|
@@ -104,7 +104,6 @@ class EMRClusterScanner(object): |
|
|
def gitUpdate(self):
|
|
|
cmd = 'cd /opt/projects/yoho-ansible-roles/;git pull;git add {0};git commit -m "Update bigdata inventory file"; git push'.format(self.inventoryFile)
|
|
|
os.popen(cmd)
|
|
|
time.sleep(20)
|
|
|
return True
|
|
|
|
|
|
def updateEMRInventory(self):
|
...
|
...
|
|