mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 09:50:37 +00:00
12 lines
266 B
Python
12 lines
266 B
Python
![]() |
from base import Task
|
||
|
import phases
|
||
|
|
||
|
|
||
|
class TriggerRollback(Task):
|
||
|
phase = phases.cleanup
|
||
|
|
||
|
description = 'Triggering a rollback by throwing an exception'
|
||
|
def run(self, info):
|
||
|
from common.exceptions import TaskException
|
||
|
raise TaskException('Trigger rollback')
|