mirror of
https://github.com/ansible/awx.git
synced 2026-02-25 15:06:02 -03:30
Remove some spurious print statements I left previously
This commit is contained in:
@@ -774,11 +774,8 @@ class RunJob(BaseTask):
|
|||||||
return getattr(settings, 'AWX_PROOT_ENABLED', False)
|
return getattr(settings, 'AWX_PROOT_ENABLED', False)
|
||||||
|
|
||||||
def pre_run_hook(self, job, **kwargs):
|
def pre_run_hook(self, job, **kwargs):
|
||||||
print("In pre-run")
|
|
||||||
if job.job_type == PERM_INVENTORY_SCAN:
|
if job.job_type == PERM_INVENTORY_SCAN:
|
||||||
print("In scan")
|
|
||||||
if not test_mongo_connection():
|
if not test_mongo_connection():
|
||||||
print("Mongo isn't running")
|
|
||||||
raise RuntimeError("Fact Scan Database is offline")
|
raise RuntimeError("Fact Scan Database is offline")
|
||||||
|
|
||||||
def post_run_hook(self, job, **kwargs):
|
def post_run_hook(self, job, **kwargs):
|
||||||
|
|||||||
Reference in New Issue
Block a user