def list_deployments(jboss_config):
    log.debug("======================== MODULE FUNCTION: jboss7.list_deployments")
    command_result = __salt__['jboss7_cli.run_command'](jboss_config, 'deploy')
    deployments = []
    if len(command_result['stdout']) > 0:
        deployments = re.split('\\s*', command_result['stdout'])
    log.debug('deployments=%s', str(deployments))
    return deployments
List all deployments on the jboss instance
dataset/ETHPy150Open saltstack/salt/salt/modules/jboss7.py/list_deployments