'Execute the shell command.
This is just the wrapper of module.run_command().
Args:
*commands: The command to execute.
It will be concatenated with single space.
**kwargs:  Only \'log\' key is checked.
If kwargs[\'log\'] is true, record the command to self.msg.
Returns:
stdout: Standard output of the command.'

def execute(self, *commands, **kwargs):

    command = '    '.join(commands)
    (rc, stdout, stderr) = self.module.run_command(command, check_rc=True)
    if kwargs.get('log', False):
        self.msg.append(('executed    `%s`' % command))
    return stdout
