def METHOD_NAME(self, log_ansible_error=True):
    """Run the ansible playbook in the indicated hosts.
    Args:
        log_ansible_error (boolean): True for logging the error exception message if any.
    Returns:
        AnsibleOutput: Result of the ansible playbook run.
    """
    quiet = not self.output
    AnsibleRunner.LOGGER.debug(f"Running {self.ansible_playbook_path} ansible-playbook with "
                               f"{self.ansible_inventory_path} inventory")
    runner = ansible_runner.METHOD_NAME(private_data_dir=self.private_data_dir, playbook=self.ansible_playbook_path,
                                inventory=self.ansible_inventory_path, quiet=quiet,
                                envvars={'ANSIBLE_GATHER_TIMEOUT': 30, 'ANSIBLE_TIMEOUT': 20})
    ansible_output = AnsibleOutput(runner)
    if ansible_output.rc != 0:
        raise AnsibleException(f'Failed: {ansible_output}', AnsibleRunner.LOGGER.error, QACTL_LOGGER) if \
            log_ansible_error else AnsibleException(f'Failed: {ansible_output}')
    return ansible_output