def cleanup_on_success(self, value):
        """Set cleanup on success flag

        :param bool value: Cleanup on success flag
        :return:
        """

        self.options['cleanup_on_success'] = bool(value)