

def list_deployments(jboss_config):
    '\n    List all deployments on the jboss instance\n\n    jboss_config\n        Configuration dictionary with properties specified above.\n\n     CLI Example:\n\n     .. code-block:: bash\n\n         salt \'*\' jboss7.list_deployments \'{"cli_path": "integration.modules.sysmod.SysModuleTest.test_valid_docs", "controller": "10.11.12.13:9999", "cli_user": "jbossadm", "cli_password": "jbossadm"}\'\n\n       '
    log.debug('======================== MODULE FUNCTION: jboss7.list_deployments')
    command_result = __salt__['jboss7_cli.run_command'](command_result, 'deploy')
    deployments = []
    if (len(command_result['stdout']) > 0):
        deployments = re.split('\\s*', command_result['stdout'])
    log.debug('deployments=%s', str(deployments))
    return deployments

dataset/ETHPy150Open saltstack/salt/salt/modules/jboss7.py list_deployments/VarMisuse@26/217 `jboss_config`->`command_result`