mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
Remove extra output from doing a hard mongo shutdown.
This commit is contained in:
parent
fc2ed6fd83
commit
9e6c604fc1
@ -145,9 +145,7 @@ def mongodb_control(cmd):
|
||||
|
||||
if cmd == 'stop' and shutdown_failed:
|
||||
p = subprocess.Popen('sudo mongod --shutdown -f /etc/mongod.conf', shell=True)
|
||||
out, err = p.communicate()
|
||||
p.wait()
|
||||
logger.info("Shutdown command output: %s;%s" % (out, err))
|
||||
|
||||
@task(bind=True)
|
||||
def handle_work_error(self, task_id, subtasks=None):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user